Skip to content

Commit

Permalink
Fix and improve Dockerfile lines
Browse files Browse the repository at this point in the history
  • Loading branch information
cskrov committed Sep 27, 2024
1 parent b6ddc18 commit 66baeac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM node:22-alpine

ENV NODE_ENV production
ENV NODE_ENV=production
ENV NPM_CONFIG_CACHE=/tmp

WORKDIR /usr/src/app
Expand All @@ -10,7 +10,7 @@ COPY frontend frontend
WORKDIR /usr/src/app/server

ARG VERSION
ENV VERSION $VERSION
ENV VERSION=$VERSION

CMD node dist/server.js
CMD ["node", "dist/server.js"]
EXPOSE 8080

0 comments on commit 66baeac

Please sign in to comment.