File size: 387 Bytes
5d56d1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Use a Python base image with a specified version
FROM python:3.9

# Set the working directory inside the container
WORKDIR /app

# Copy the project files into the container
COPY . /app

# Install required Python packages
RUN pip install pandas scikit-learn flask

# Expose the port that your Flask app will run on
EXPOSE 7860

# Command to run your Flask app
CMD ["python", "app.py"]