Skip to content

Commit

Permalink
Fix Dockerfile dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
JonatanMGit committed Feb 14, 2023
1 parent 96af6d2 commit 74a41e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
npm-debug.log
**/*.env
.git
web
web
**/*dist
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ RUN cd ./bot && npm run build
# Production stage
FROM node:19.5.0-alpine
WORKDIR /app
COPY --from=build /app/node_modules node_modules
COPY . .
COPY --from=build /app/ .
RUN npm install --production
CMD [ "npm", "run", "start:bot" ]

0 comments on commit 74a41e7

Please sign in to comment.