reminder-bot/Dockerfile

15 lines
266 B
Docker

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"]