File size: 248 Bytes
4e7453e
 
 
 
 
 
 
 
 
8b801c7
1
2
3
4
5
6
7
8
9
10
11
# Dockerfile
FROM python:3.10-slim

WORKDIR /code
COPY requirements.txt /code/
RUN pip install --no-cache-dir -r requirements.txt
COPY . /code/

# Run FastAPI server on port 7860
CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8080"]