# 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"]