Skip to content

Commit

Permalink
Gunicorn access log to stdout and errorlog to stderr, more convenient…
Browse files Browse the repository at this point in the history
… for Docker
  • Loading branch information
josvandervelde committed Dec 21, 2023
1 parent b32f04e commit b8f38c6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/bin/bash

gunicorn -b 0.0.0.0:5000 autoapp:app \
--chdir /app \
--access-logfile /home/unprivileged-user/access.log \
--error-logfile /home/unprivileged-user/error.log
gunicorn -b 0.0.0.0:5000 autoapp:app --chdir /app

0 comments on commit b8f38c6

Please sign in to comment.