Improved dockerized backend

This commit is contained in:
oitsjustjose 2025-06-17 12:31:12 -05:00
commit beea4ef609
7 changed files with 89 additions and 152 deletions

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM python:3.10-slim-bookworm
RUN apt-get update && apt-get upgrade -y
COPY . .
RUN pip install -r requirements.txt
WORKDIR /src
EXPOSE 8000
CMD ["fastapi", "run", "main.py"]