Files
Julien Cabillot be3edc0e14
perso/opencode-dispatch/pipeline/head This commit looks good
feat: import
2026-03-27 19:12:29 -04:00

17 lines
295 B
Docker

FROM python:3.14-slim
WORKDIR /app
# Install dependencies first (layer caching)
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy bot
COPY bot.py .
# Non-root user
RUN useradd --no-create-home --shell /bin/false botuser
USER botuser
CMD ["python", "bot.py"]