diff --git a/Dockerfile b/Dockerfile index e7e068e..500326b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +RUN bun i +CMD ["bun", "run", "index.js"] \ No newline at end of file diff --git a/README.md b/README.md index 68a6590..96ad643 100644 --- a/README.md +++ b/README.md @@ -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