Skip to content

Commit

Permalink
DEBUG: Don't add user for app in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyMcCormick committed Oct 1, 2024
1 parent 05de986 commit 2ce9279
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile.replication
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ RUN chmod +x /app/entrypoint-replication.sh
RUN rm -rf /build

# Create an application group and user so we don't run as root.
RUN groupadd -g 1000 appgroup && \
useradd -ms /bin/bash -u 1000 -g 1000 appuser && \
chown -R appuser:appgroup /app
USER appuser
# RUN groupadd -g 1000 appgroup && \
# useradd -ms /bin/bash -u 1000 -g 1000 appuser && \
# chown -R appuser:appgroup /app
# USER appuser

# ENTRYPOINT ["/app/entrypoint-replication.sh"]
CMD ["/app/entrypoint-replication.sh"]

0 comments on commit 2ce9279

Please sign in to comment.