feat: add stage 0 foundation
This commit is contained in:
13
infra/backend.Dockerfile
Normal file
13
infra/backend.Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY backend/pyproject.toml /app/pyproject.toml
|
||||
RUN pip install --no-cache-dir -e ".[dev]"
|
||||
|
||||
COPY backend /app
|
||||
|
||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||
Reference in New Issue
Block a user