reminder-bot/Dockerfile

15 lines
266 B
Docker
Raw Permalink Normal View History

2025-12-19 11:19:54 +01:00
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir -r requirements.txt
COPY . .
# Create data directory for SQLite
RUN mkdir -p /app/data
CMD ["python", "-m", "bot.main"]