Skip to content

Commit

Permalink
fix(ci): update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihoub2 committed Sep 13, 2024
1 parent 9a094c7 commit 508eb94
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ WORKDIR /app
COPY package*.json ./
RUN npm ci --silent
COPY . .

EXPOSE 5173
RUN npm run build
EXPOSE 5173
COPY docker-entrypoint.sh /usr/local/bin/
ENTRYPOINT ["docker-entrypoint.sh"]
CMD ["node", "dist/main.js"]

0 comments on commit 508eb94

Please sign in to comment.