Skip to content

Commit

Permalink
Merge branch 'docker-non-root-user' into 'develop'
Browse files Browse the repository at this point in the history
Docker: run as nobody user

See merge request flagsmith/bullet-train-api!353
  • Loading branch information
dabeeeenster committed May 5, 2021
2 parents d493111 + 8b984bb commit 1427fba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ ENV ACCESS_LOG_LOCATION=${ACCESS_LOG_LOCATION}
ENV DJANGO_SETTINGS_MODULE=app.settings.production
EXPOSE 8000

USER nobody

CMD ["./bin/docker"]

0 comments on commit 1427fba

Please sign in to comment.