Skip to content

Commit

Permalink
Enable access log in docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
ashermorgan committed Jul 28, 2024
1 parent 974ab3c commit 8ea1298
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ RUN python3 -m pip install --no-cache-dir -r requirements.txt

COPY songs2slides songs2slides

CMD ["gunicorn", "-b", "0.0.0.0:5000", "songs2slides:create_app()"]
CMD ["gunicorn", "-b", "0.0.0.0:5000", "songs2slides:create_app()", \
"--access-logfile", "/var/log/songs2slides.log"]

0 comments on commit 8ea1298

Please sign in to comment.