Skip to content

Commit

Permalink
build: add dockerfile and gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
ttpss930141011 committed Sep 26, 2023
1 parent 410cdda commit ea5614e
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 @@ -6,4 +6,4 @@ RUN pip install -r requirements.txt
WORKDIR /app
COPY . /app
EXPOSE 5000
CMD exec gunicorn --bind :$PORT --workers 1 --worker-class uvicorn.workers.UvicornWorker --threads 8 main:app
CMD exec gunicorn --bind :5000 --workers 1 --worker-class uvicorn.workers.UvicornWorker --threads 8 main:app

0 comments on commit ea5614e

Please sign in to comment.