File size: 322 Bytes
3fe739b
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
FROM python:3.11

WORKDIR /code

COPY ./req.txt /code/requirements.txt

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

COPY ./src /code/src

# Set the entry point for FastAPI (assumes the app is in takjadi.main.py and the instance is 'app')
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"]