Skip to content

Commit

Permalink
build: dockerfile user 1001 (match github actions)
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 29, 2023
1 parent 47bca9a commit c4aac53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ WORKDIR /opt
# Add app code
COPY app/ /opt/app/
# Add non-root user, permissions
RUN useradd -r -u 900 -m -c "hotosm account" -d /home/appuser -s /bin/false appuser \
RUN useradd -r -u 1001 -m -c "hotosm account" -d /home/appuser -s /bin/false appuser \
&& mkdir -p /opt/logs /opt/tiles \
&& chown -R appuser:appuser /opt /home/appuser \
&& chmod +x /container-entrypoint.sh
Expand Down

0 comments on commit c4aac53

Please sign in to comment.