Dockerizing the project

This commit is contained in:
2026-03-04 10:47:06 +02:00
parent 519b683fc3
commit ced2950b60
7 changed files with 66 additions and 10 deletions
+13
View File
@@ -0,0 +1,13 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]