Skip to content

Commit

Permalink
- Bump version to 0.1.2
Browse files Browse the repository at this point in the history
- Increase worker timeout of Gunicorn app to 180s
  • Loading branch information
aschmere committed Jul 1, 2024
1 parent 55f1845 commit df40689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dwd_global_rad_api_server_dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]



Expand Down

0 comments on commit df40689

Please sign in to comment.