Skip to content

Commit

Permalink
Change docker setup to bun
Browse files Browse the repository at this point in the history
Signed-off-by: Leon de Klerk <[email protected]>
  • Loading branch information
leondeklerk committed Apr 1, 2024
1 parent 285da9c commit efcd658
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM node:lts-alpine
FROM oven/bun
WORKDIR /app
ENV NODE_ENV=production
COPY package.json ./
COPY package-lock.json ./
COPY dist ./
COPY scripts ./scripts/
RUN npm i
CMD ["node", "index.js"]
RUN bun i
CMD ["bun", "run", "index.js"]
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ A template repository containing a standard setup for TypeScript based NodeJS pr

Configured with the following:

- Linting with Eslint and Prettier
- Pre commit type-checking and linting with Husky
- NPM scripts for lint, type-check, build, and development.
- Renovate dependency updates
- Linting with Eslint and Prettier
- Pre commit type-checking and linting with Husky
- Bun scripts for lint, type-check, build, and development.
- Renovate dependency updates

0 comments on commit efcd658

Please sign in to comment.