Skip to content

Commit

Permalink
build: merge dockerfile uid 1001 from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 29, 2023
1 parent 7c965dc commit 5fde57e
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 5fde57e

Please sign in to comment.