File size: 317 Bytes
838b648
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Use a base image with Python 3.x
FROM python:3.10

# Install necessary packages
RUN pip install --no-cache-dir -r requirements.txt

# Copy your project code to the container
COPY . /app

# Set the working directory to your project
WORKDIR /app

# Define the command to run your application
CMD ["python", "main.py"]