Skip to content

Commit

Permalink
remove appuser
Browse files Browse the repository at this point in the history
  • Loading branch information
SYusupov committed Sep 16, 2024
1 parent 80ab983 commit 8a8ff57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ COPY ./model_files /model_files
# Ensure that the model file is readable by all users
RUN chmod -R 755 /model_files

# Create a non-root user called appuser
RUN useradd -m appuser
# Switch to the non-privileged user to run the application.
USER appuser
# # Create a non-root user called appuser
# RUN useradd -m appuser
# # Switch to the non-privileged user to run the application.
# USER appuser

# Expose the port that the application listens on.
EXPOSE 8000
Expand Down

0 comments on commit 8a8ff57

Please sign in to comment.