Spaces:
Runtime error
Runtime error
| # Use an official Python runtime as a parent image | |
| FROM python:3.10-slim | |
| # Set the working directory in the container | |
| WORKDIR /app | |
| # Copy the dependency file and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy the rest of the application files (including vector_db and telegram_bot.py) | |
| COPY . . | |
| # The bot will be started directly by Python, removing the dependency on run.sh | |
| CMD ["python", "telegram_bot.py"] |