Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
maxaleks committed Sep 18, 2024
1 parent 0f504ba commit db643f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM node:22
WORKDIR /app
COPY . .

RUN npm install && chown -R node:node /app
RUN npm install && npm run build && chown -R node:node /app
USER node

ENTRYPOINT ["npm", "run", "dev"]
ENTRYPOINT ["npm", "start"]

0 comments on commit db643f4

Please sign in to comment.