This commit is contained in:
2026-03-23 11:13:30 -03:00
parent 8186bb5fe6
commit 71fd0510de
34 changed files with 1373 additions and 104 deletions

View File

@@ -1,11 +1,13 @@
FROM python:3.11-slim
RUN pip install --no-cache-dir uv
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN uv pip install --system --no-cache -r requirements.txt
# No COPY . . — code is volume-mounted in dev (..:/app)
# This image only provides the Python runtime + dependencies
# Copy code into image (k8s uses this, docker-compose volume-mounts over it)
COPY . .
CMD ["python", "admin/manage.py", "runserver", "0.0.0.0:8000"]