FROM python:3.9-slim # Set the working directory WORKDIR /app # Copy requirements and install COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the app COPY . . # Run the bot CMD ["python", "app.py"]