Skip to content

Commit

Permalink
fixing docker build
Browse files Browse the repository at this point in the history
Signed-off-by: hfuss <[email protected]>
  • Loading branch information
onelapahead committed Oct 10, 2023
1 parent e528883 commit 6cdd4e2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ WORKDIR /app
COPY --from=build --chown=1001:0 /home/node/dist ./dist
COPY --from=build --chown=1001:0 /home/node/package.json /home/node/package-lock.json ./

RUN npm install --production \
&& chgrp -R 0 /app/ \
&& chmod -R g+rwX /app/
RUN npm install --production
EXPOSE 3000
CMD ["node", "dist/src/main"]

0 comments on commit 6cdd4e2

Please sign in to comment.