commit 8ea129818792f985f643b7291f6ab1fd2427eea4
parent 974ab3c3aa99590a46ec19f6dabe10b555c0365c
Author: Asher Morgan <59518073+ashermorgan@users.noreply.github.com>
Date: Sun, 28 Jul 2024 08:30:54 -0700
Enable access log in docker container
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -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"]