# Base image for Python FROM python:3.10 # Set the working directory WORKDIR /app # Copy requirements.txt and install dependencies COPY requirements.txt /app/requirements.txt RUN pip install --upgrade pip RUN pip install -r requirements.txt # Copy the rest of the code COPY . /app # Run the application CMD ["python", "app.py"]