FROM python:3.10-slim | |
WORKDIR /app | |
COPY requirements.txt . | |
RUN pip install --no-cache-dir -r requirements.txt | |
COPY . . | |
# huggingface specific port | |
EXPOSE 7860 | |
# Start the bot and keep the container alive(idk it is working or not) | |
CMD ["sh", "-c", "python bot_telegram.py & tail -f /dev/null"] | |