Skip to content

Commit

Permalink
Nevermind, non root is a pita.
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Sargent committed Feb 13, 2024
1 parent 988cc8e commit 35c3f76
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,5 @@ COPY . /code/

HEALTHCHECK CMD curl --fail http://localhost:8000/ || exit 1

# Create a non-root user and switch to it
RUN adduser --disabled-password appuser
USER appuser


# Use a script as the entrypoint
ENTRYPOINT ["/code/entrypoint.sh"]

0 comments on commit 35c3f76

Please sign in to comment.