mirror of
https://github.com/BreizhHardware/ntfy_alerts.git
synced 2026-03-18 21:40:38 +01:00
19 lines
413 B
Docker
19 lines
413 B
Docker
FROM python:3.11.8-alpine3.19
|
|
|
|
LABEL maintainer="BreizhHardware"
|
|
|
|
ADD ntfy.py /
|
|
ADD requirements.txt /
|
|
ADD entrypoint.sh /
|
|
RUN apk add --no-cache sqlite-dev sqlite-libs gcc musl-dev
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Définir les variables d'environnement pour username et password
|
|
ENV USERNAME="" \
|
|
PASSWORD="" \
|
|
NTFY_URL="" \
|
|
GHNTFY_TIMEOUT="3600" \
|
|
GHREPO=""
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|