Dockerfile (257B)
1 FROM python:3.12-slim 2 3 WORKDIR /app 4 5 COPY requirements.txt . 6 RUN pip install --no-cache-dir -r requirements.txt 7 8 COPY manage.py . 9 COPY setup.cfg . 10 COPY mysite/ mysite/ 11 COPY core/ core/ 12 13 EXPOSE 8000 14 15 CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"]