# Use the official Python image from the Docker Hub FROM python:3.14-slim # Set the working directory in the container WORKDIR /app # Copy the requirements file to the working directory COPY requirements.txt . # Install the required packages RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of the application code to the working directory COPY . . # Command to run the application CMD ["python", "bot.py"]