File size: 324 Bytes
676603a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
# Using Python 3.9 base image 
FROM python:3.9
# Set the working directory to /code 
WORKDIR /code
# Copy requirements.txt to /code 
COPY ./requirements.txt /code/requirements.txt
# Install dependencies from requirements.txt 
RUN pip install -r requirements.txt

COPY . /code

CMD ["gunicorn","main:app","-b","0.0.0.0:7860"]