Initial FastAPI template

This commit is contained in:
2026-05-20 08:51:50 +02:00
parent d4f6d27fb5
commit b23e63ca90
3 changed files with 35 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app ./app
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]