File size: 431 Bytes
e79ae12
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM python:3.10

# Set the working directory inside the container
WORKDIR /app

# Copy the requirements.txt file into our working directory (/app) in the container
COPY requirements.txt .

# Install dependencies
RUN pip install --default-timeout=600 -r requirements.txt

# Copy the app.py file into our working directory (/app) in the container
COPY app.py .

# Command to run when the container starts
CMD ["python", "./app.py"]