14 lines
340 B
Docker
14 lines
340 B
Docker
FROM python:3.12-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY status_bot.py /app/status_bot.py
|
|
COPY dashboard.html /app/dashboard.html
|
|
COPY services.example.json /app/services.json
|
|
|
|
RUN adduser -D -u 1000 -h /app archive-status
|
|
RUN mkdir -p /app/state && chown -R archive-status:archive-status /app
|
|
|
|
USER archive-status
|
|
|
|
CMD ["python", "/app/status_bot.py"]
|