Skip to content

Commit

Permalink
production: fixed running image as root
Browse files Browse the repository at this point in the history
  • Loading branch information
f213 committed Jun 20, 2024
1 parent 5928f44 commit ddd873a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ COPY . /srv/

HEALTHCHECK CMD wget -q -O - --content-on-error http://localhost:8000|grep -qi "not found"

USER nobody
CMD python bot.py

0 comments on commit ddd873a

Please sign in to comment.