docker file perms attempt 2
Deploy / Deploy (push) Successful in 1m36s
Details
Deploy / Deploy (push) Successful in 1m36s
Details
This commit is contained in:
parent
03440a45e7
commit
993bb89daa
|
@ -20,10 +20,5 @@ RUN --mount=type=bind,source=package.json,target=package.json \
|
|||
# Copy the rest of the source files into the image.
|
||||
COPY . .
|
||||
|
||||
RUN chown -R node.node /usr/src/app
|
||||
|
||||
# Run the application as a non-root user.
|
||||
USER node
|
||||
|
||||
# Run the application.
|
||||
CMD node index.js
|
||||
|
|
Loading…
Reference in New Issue