BKFINALLY / Dockerfile
Bjo53's picture
Create Dockerfile
6c52ebe verified
raw
history blame contribute delete
241 Bytes
FROM python:3.11-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY bot.py .
# BOT_TOKEN, DB_PATH must be provided via environment variables
CMD ["python", "bot.py"]