# Use Python 3.10 as base image FROM python:3.10 # Set working directory WORKDIR /code # Install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy app files COPY . . # Run the app CMD ["python", "app.py"]