# Use an official Python runtime as a parent image FROM python:3.12 # Set the working directory in the container WORKDIR /app # Copy and install pip requirements COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of your application code COPY . . # Default command to run your bot CMD ["python3", "app.py"]