add Dockerfile

This commit is contained in:
agatha 2024-04-13 19:24:49 -04:00
parent bc43ebb214
commit 5c2c3bd5dd

10
server/Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:alpine
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src .
EXPOSE 8000
CMD ["uvicorn", "--host", "0.0.0.0", "main:app"]