File size: 323 Bytes
1508965
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7b79cc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.9

WORKDIR /code

# Upgrade pip first
RUN pip install --upgrade pip

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

# Install the dependencies
RUN pip install --no-cache-dir -r /code/requirements.txt

# Copy the rest of the application code
COPY . /code

CMD ["python", "app.py"]