Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
raczeja authored Jan 10, 2025
1 parent 3b24fb1 commit 267935c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ RUN BASE_URL=https://github.com/mozilla/geckodriver/releases/download \

ENV ASPNETCORE_ENVIRONMENT Linux
#=========
# Create a user and switch to it
#=========
RUN groupadd -r ocaramba && useradd -r -g ocaramba ocaramba
USER ocaramba
#=========
# Health Check
#=========
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
Expand Down

0 comments on commit 267935c

Please sign in to comment.