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
|
||||
ENV PATH="/.venv/bin:$PATH"
|
||||
|
||||
RUN pip install "django"
|
||||
RUN pip install "django<7" gunicorn
|
||||
|
||||
COPY src /src
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8888"]
|
||||
CMD ["gunicorn", "--bind", ":8888", "core.wsgi:application"]
|
||||
Reference in New Issue
Block a user