Skip to content

Commit

Permalink
Update Dockerfile to create crossmodel user with uid 101.
Browse files Browse the repository at this point in the history
  • Loading branch information
harmen-xb committed Nov 21, 2024
1 parent d444d0e commit 81ad694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ FROM node:20-bookworm-slim AS production-stage

# Create a non-root user with a fixed user id and setup the environment
# Default workspace is located at /home/project
RUN adduser --system --group --home /home/crossmodel crossmodel && \
RUN adduser --system --group --uid 101 --home /home/crossmodel crossmodel && \
chmod g+rw /home && \
mkdir -p /home/project && \
chown -R crossmodel:crossmodel /home/crossmodel
Expand Down

0 comments on commit 81ad694

Please sign in to comment.