We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 862b32a commit d49a367Copy full SHA for d49a367
frontend/Dockerfile
@@ -12,10 +12,10 @@ RUN find . -type f ! -path '*/node_modules/*' -print0 | xargs -0 dos2unix
12
13
EXPOSE 56000
14
15
+RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
16
+RUN chown -R 1000:1000 /app
17
RUN mkdir -p /app/resources && chown -R node:node /app/resources
18
VOLUME /app/resources
19
-RUN groupadd --gid 1000 node && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
-RUN chown -R 1000:1000 /app
20
USER node
21
CMD npm run start-dist
0 commit comments