gunicornでサーバーを起動

This commit is contained in:
yuukiwww
2024-04-19 15:36:05 +00:00
parent 4d9bd68740
commit 87804ce2a8
4 changed files with 13 additions and 14 deletions

View File

@@ -3,4 +3,4 @@ COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
ENV PYTHONUNBUFFERED 1
CMD ["waitress-serve", "app:app"]
CMD ["gunicorn", "app:app", "--access-logfile", "-", "--bind", "0.0.0.0"]