Skip to content

Commit

Permalink
gunicorn service
Browse files Browse the repository at this point in the history
  • Loading branch information
yu23ki14 committed Aug 10, 2024
1 parent 7e7923d commit 7fe79c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/Dockerfile.prd
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ USER app
COPY --from=builder /usr/local/lib/python${PYTHON_VERSION_CODE}/site-packages /usr/local/lib/python${PYTHON_VERSION_CODE}/site-packages
COPY --chown=app:app . ./

ENTRYPOINT ["python", "-m", "gunicorn", "birdxplorer_api.main:app", "--bind", "0.0.0.0:10000"]
ENTRYPOINT ["python", "-m", "gunicorn", "birdxplorer_api.main:app", "-k", "uvicorn.workers.UvicornWorker", "-w", "1", "--bind", "0.0.0.0:10000"]

0 comments on commit 7fe79c4

Please sign in to comment.