Files
2026-03-11 20:51:11 +00:00

18 lines
345 B
Docker

# Dockerfile for Reddit Test Posts Bot
FROM python:3.11-slim
# Create a non-root user for running the bot
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY bot.py .
COPY config.py .
COPY update_checker.py .
# Create DB directory
RUN mkdir -p /app/DB
ENV PYTHONUNBUFFERED=1
CMD ["python", "bot.py"]