TheOrb/Dockerfile
2026-05-13 22:37:55 -04:00

13 lines
408 B
Docker

FROM python:3.12-alpine
WORKDIR /app
COPY requirements.txt /app/requirements.txt
COPY --chown=1001:1001 status_bot.py /app/status_bot.py
COPY --chown=1001:1001 dashboard.html /app/dashboard.html
COPY --chown=1001:1001 services.example.json /app/services.json
RUN pip install --no-cache-dir -r /app/requirements.txt
RUN adduser -D -u 1001 -g "" -h /app archive-status
CMD ["python", "/app/status_bot.py"]