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 fa29136 commit 1fc3f20Copy full SHA for 1fc3f20
1 file changed
Dockerfile
@@ -14,7 +14,9 @@ ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
14
# Setup the application user and group
15
RUN addgroup -Sg 40023 waam && \
16
adduser -Su 40023 -G waam waam && \
17
- install -d -o waam -g waam /usr/src/app
+ install -d -o waam -g waam /usr/src/app && \
18
+ mkdir -p /opt/app/artifacts && \
19
+ chown -R waam:waam /opt/app
20
21
# Subsequent commands run relative to this directory.
22
WORKDIR /usr/src/app
@@ -49,7 +51,4 @@ ENTRYPOINT ["npm"]
49
51
# The default command runs the server.
50
52
CMD ["run", "server"]
53
-# Necessary for the GitHub Actions workflow
54
ENV PATH=/usr/src/app/bin:$PATH
-RUN mkdir -p /opt/app/artifacts && \
55
- chown -R waam:waam /opt/app
0 commit comments