minimal building container

This commit is contained in:
2025-12-15 22:27:26 +10:00
parent d3e5abbc98
commit 9a1b84c267
6 changed files with 39 additions and 1 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.11-slim
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY ./src /app/src
CMD ["fastapi","run", "./src/app.py"]