scripts/bots/antiwhisper/Dockerfile

16 lines
337 B
Docker
Raw Permalink Normal View History

2024-12-07 03:32:26 +03:00
FROM python:3.10-slim
# Set work directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy bot code
COPY bot.py .
# Set environment variables (you can also set them in docker-compose or externally)
# ENV TELEGRAM_BOT_TOKEN=YOUR_BOT_TOKEN
CMD ["python", "bot.py"]