Compare commits

...

3 Commits

Author SHA1 Message Date
Henry 5999d360ae Merge branch 'main' into chore/DockerFile-Non-Root
# Conflicts:
#	Dockerfile
2025-11-15 18:08:13 +00:00
Henry Heng afa6acb7cc
Update Dockerfile 2025-11-15 16:49:08 +00:00
Henry a7959e8d62 update dockerfile 2025-11-15 12:48:20 +00:00
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ COPY . .
RUN pnpm install && \ RUN pnpm install && \
pnpm build pnpm build
# Give the node user ownership of the application files
RUN chown -R node:node .
# Switch to non-root user (node user already exists in node:20-alpine) # Switch to non-root user (node user already exists in node:20-alpine)
USER node USER node