File size: 441 Bytes
a635f47
 
6aebd37
a635f47
0b0f385
 
a635f47
 
 
 
 
6aebd37
a635f47
 
6aebd37
a635f47
6aebd37
6c4af46
a635f47
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Use the official Python 3.9 image
FROM python:3.9

# Set the working directory to /app
WORKDIR /app

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

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

# Copy the rest of the application code into the container
COPY . /app

# Expose port 7860
EXPOSE 7860

# Run the application
CMD ["python", "app.py"]