Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Commit

Permalink
fix(docker): fix dockerfile permission error
Browse files Browse the repository at this point in the history
  • Loading branch information
shinebayar-g committed Jul 9, 2019
1 parent 6e6a770 commit 1631750
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM erxes/runner:latest
WORKDIR /erxes-api/
RUN chown -R node:node /erxes-api
COPY --chown=node:node . /erxes-api
USER node
EXPOSE 3300
ENTRYPOINT [ "node", "--max_old_space_size=8192", "dist" ]
ENTRYPOINT [ "node", "--max_old_space_size=8192", "dist" ]

0 comments on commit 1631750

Please sign in to comment.