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

Commit 1631750

Browse files
committed
fix(docker): fix dockerfile permission error
1 parent 6e6a770 commit 1631750

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM erxes/runner:latest
22
WORKDIR /erxes-api/
3+
RUN chown -R node:node /erxes-api
34
COPY --chown=node:node . /erxes-api
45
USER node
56
EXPOSE 3300
6-
ENTRYPOINT [ "node", "--max_old_space_size=8192", "dist" ]
7+
ENTRYPOINT [ "node", "--max_old_space_size=8192", "dist" ]

0 commit comments

Comments
 (0)