Files
shihaam 4bf75fdfe4
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 28s
update compose for monorepo
2026-08-02 05:10:30 +05:00

14 lines
395 B
Docker

FROM python:3.12-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
# Source is bind-mounted at runtime; (re)install deps on start so
# requirements.txt changes are picked up without a rebuild, then run the
# Django autoreloading dev server.
CMD pip install --no-cache-dir -r requirements.txt \
&& python manage.py migrate \
&& python manage.py runserver 0.0.0.0:5000