Initial commit: FastAPI starter template

This commit is contained in:
mustafalasheen
2025-04-15 15:49:05 +02:00
commit 151f02837f
3 changed files with 21 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]