installed gunicorn dependency; updated Dockerfile accordingly so it installs alongside django
This commit is contained in:
@@ -3,10 +3,10 @@ FROM python:3.13-slim
|
|||||||
RUN python -m venv /.venv
|
RUN python -m venv /.venv
|
||||||
ENV PATH="/.venv/bin:$PATH"
|
ENV PATH="/.venv/bin:$PATH"
|
||||||
|
|
||||||
RUN pip install "django"
|
RUN pip install "django<7" gunicorn
|
||||||
|
|
||||||
COPY src /src
|
COPY src /src
|
||||||
|
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8888"]
|
CMD ["gunicorn", "--bind", ":8888", "core.wsgi:application"]
|
||||||
BIN
requirements.txt
BIN
requirements.txt
Binary file not shown.
Reference in New Issue
Block a user