FROM python:3.10-slim WORKDIR /app # Upgrade pip and install dependencies COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt # Copy all project files COPY . . # Expose port 7860 (Hugging Face Spaces default port) EXPOSE 7860 # Run the bot CMD ["python", "main.py"]