Skip to content

Commit

Permalink
Switch to 1000:1000 user
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Zellner committed Aug 2, 2024
1 parent 18ecf97 commit bae8020
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 @@ -19,7 +19,7 @@ RUN setcap cap_net_raw+eip $JAVA_HOME/bin/java

# Create and own directory
RUN mkdir /app && chown -R 1000:1000 /app
USER appuser
USER 1000
WORKDIR /app

# Copy application from builder stage
Expand Down

0 comments on commit bae8020

Please sign in to comment.