update compose for monorepo
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 28s

This commit is contained in:
2026-08-02 05:10:30 +05:00
parent c56140011f
commit 4bf75fdfe4
8 changed files with 47 additions and 114 deletions
+13
View File
@@ -0,0 +1,13 @@
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