Files
renovate 0e606383c2
PR - Docker Build / hadolint (pull_request) Successful in 7s
PR - Docker Build / build (pull_request) Successful in 25s
chore(deps): update binwiederhier/ntfy docker tag to v2.25.0
2026-06-24 23:54:23 +00:00

26 lines
575 B
Docker

# syntax=docker.io/docker/dockerfile:1
FROM python:3.14-alpine AS pipdependencies
COPY app/requirements.txt /requirements.txt
RUN pip3 install --no-cache-dir --user --requirement requirements.txt
FROM python:3.14-alpine
LABEL maintainer="Cabillot Julien <dockerimages@cabillot.eu>"
# TODO: à tester
#USER "nobody"
COPY app /app
COPY entrypoint.sh /app/entrypoint.sh
WORKDIR "/app"
ENTRYPOINT [ "/app/entrypoint.sh" ]
COPY --from=binwiederhier/ntfy:v2.25.0 /usr/bin/ntfy /usr/local/bin/ntfy
RUN mkdir /etc/ntfy
COPY --from=pipdependencies /root/.local /root/.local