Files
opencode-dispatch/Dockerfile
T
renovate 51ea99f4d8
renovate/stability-days Updates have met minimum release age requirement
PR Checks / hadolint (pull_request) Successful in 10s
PR Checks / build-test (pull_request) Successful in 25s
chore(deps): update python docker tag to v3.15
2026-10-16 15:17:43 +00:00

17 lines
295 B
Docker

FROM python:3.15-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"]