Files
TestPostsBot/Dockerfile
T
2026-03-11 18:25:51 +00:00

17 lines
320 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 .
# Create DB directory
RUN mkdir -p /app/DB
ENV PYTHONUNBUFFERED=1
CMD ["python", "bot.py"]