# Use a Python image as base FROM python:3.10-slim # Install dependencies RUN apt-get update && apt-get install -y \ wkhtmltopdf \ && rm -rf /var/lib/apt/lists/* # Copy the requirements file COPY requirements.txt . # Install Python dependencies RUN pip install -r requirements.txt # Copy your app code COPY . /app WORKDIR /app # Run your app CMD ["python", "app.py"]