File size: 305 Bytes
6fa0b44
 
 
 
1940ecf
6fa0b44
 
1940ecf
16c0bad
6fa0b44
 
 
64c3ae0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM python:3.9

WORKDIR /code

# Copy the requirements file into the container
COPY ./requirements.txt /code/requirements.txt

# Install any needed dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt

COPY . .

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]