# Use an official Python runtime as a parent image FROM python:3.9 # Set the working directory inside the container WORKDIR /app # Copy the requirements file into the container COPY requirements.txt /app/ # Install dependencies RUN pip install --no-cache-dir -r requirements.txt # Copy everything from "Web app" into "/app" in the container COPY Web\ app /app/ # Expose the port Flask runs on EXPOSE 5000 # Run Flask app CMD ["python", "app.py"]