docker file perms attempt 2
Deploy / Deploy (push) Successful in 1m36s Details

This commit is contained in:
Rik Berkelder 2025-01-15 02:47:41 +01:00
parent 03440a45e7
commit 993bb89daa
1 changed files with 0 additions and 5 deletions

View File

@ -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