Fix up dockerfile
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-01-19 02:43:34 +01:00
parent 09d3d8684c
commit 9cd3803b61
3 changed files with 9 additions and 4 deletions
+3 -3
View File
@@ -14,7 +14,7 @@ FROM python:3.11-alpine
COPY glebby-server /glebby-server
WORKDIR /glebby-server
RUN pip install -r requirements.txt
RUN pip install gunicorn
COPY --from=frontend /glebby-client/static /glebby-server/static
RUN pip install hypercorn
COPY --from=frontend /glebby-client/static /glebby-server/glebby/static
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--threads", "100", "glebby:app"]
CMD ["hypercorn", "--bind", "0.0.0.0:5000", "glebby:app"]