From df406897e151120e0fdcaf58c75050c09b24b8a2 Mon Sep 17 00:00:00 2001 From: aschmere Date: Mon, 1 Jul 2024 18:16:07 +0200 Subject: [PATCH] - Bump version to 0.1.2 - Increase worker timeout of Gunicorn app to 180s --- dwd_global_rad_api_server_dev/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dwd_global_rad_api_server_dev/Dockerfile b/dwd_global_rad_api_server_dev/Dockerfile index e9ae7f4..cd0c1f0 100644 --- a/dwd_global_rad_api_server_dev/Dockerfile +++ b/dwd_global_rad_api_server_dev/Dockerfile @@ -55,8 +55,8 @@ COPY --from=builder /app /app # Expose the port the app runs on EXPOSE 5001 -# Run the application using Gunicorn with stdout/stderr logging -CMD ["gunicorn", "--workers", "1", "--threads", "1", "-b", "0.0.0.0:5001", "--capture-output", "--access-logfile", "-", "--error-logfile", "-", "app:app"] +# Run the application using Gunicorn with stdout/stderr logging and a timeout of 180 seconds +CMD ["gunicorn", "--workers", "1", "--threads", "1", "-b", "0.0.0.0:5001", "--capture-output", "--access-logfile", "-", "--error-logfile", "-", "--timeout", "180", "app:app"]