Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Henahax committed Apr 9, 2024
1 parent f58cd72 commit aa29525
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
FROM node

WORKDIR /app
COPY package.json ./
RUN npm install

COPY . .
RUN npm ci
RUN npm run build
RUN rm -rf src/ static/ emailTemplates/ docker-compose.yml
USER node:node
CMD ["node","build"]

CMD ["node", "build"]

EXPOSE 3000

0 comments on commit aa29525

Please sign in to comment.