+3
-3
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user