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