installed gunicorn dependency; updated Dockerfile accordingly so it installs alongside django

This commit is contained in:
Disco DeDisco
2026-01-04 23:13:30 -05:00
parent 902b7c4dfd
commit ac3518f4a6
2 changed files with 2 additions and 2 deletions

View File

@@ -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"]

Binary file not shown.