Skip to content

Commit

Permalink
chore: update gunicorn --bind
Browse files Browse the repository at this point in the history
  • Loading branch information
KreativeThinker committed Sep 14, 2024
1 parent c977238 commit 8addc15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ WORKDIR /app/src
EXPOSE 8000

# Run FastAPI with Gunicorn
CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "pwncore:app"]
CMD ["gunicorn", "-w", "4", "-k", "uvicorn.workers.UvicornWorker", "pwncore:app", "--bind", "0.0.0.0:8000"]

0 comments on commit 8addc15

Please sign in to comment.