docker config

This commit is contained in:
2025-08-11 17:10:06 +02:00
parent 6a4cce9048
commit 38b53c80a5
6 changed files with 66 additions and 1 deletions

10
backend/Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM python:3.12-slim
WORKDIR /app
COPY backend/requirements.txt /app/
RUN pip install --no-cache-dir -r requirements.txt
COPY backend /app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]