Spaces:
Running
Running
Docker chown change (#1046)
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -34,8 +34,8 @@ ENV HOME=/home/user \
|
|
34 |
PATH=/home/user/.local/bin:$PATH
|
35 |
|
36 |
|
37 |
-
COPY --from=builder-production --chown=
|
38 |
-
COPY --link --chown=
|
39 |
-
COPY --from=builder --chown=
|
40 |
|
41 |
CMD pm2 start /app/build/index.js -i $CPU_CORES --no-daemon
|
|
|
34 |
PATH=/home/user/.local/bin:$PATH
|
35 |
|
36 |
|
37 |
+
COPY --from=builder-production --chown=1000 /app/node_modules /app/node_modules
|
38 |
+
COPY --link --chown=1000 package.json /app/package.json
|
39 |
+
COPY --from=builder --chown=1000 /app/build /app/build
|
40 |
|
41 |
CMD pm2 start /app/build/index.js -i $CPU_CORES --no-daemon
|