Spaces:
Runtime error
Runtime error
| # Use the official Python image from Docker Hub | |
| FROM python:3.10-slim | |
| # Set the working directory inside the container | |
| WORKDIR /app | |
| # Copy the local requirements.txt file to the container | |
| COPY requirements.txt /app/ | |
| # Install any needed dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of your application to the container | |
| COPY . /app/ | |
| # Set the command to run your bot (replace bot.py with your main file) | |
| CMD ["python", "bot.py"] | |