FROM binwiederhier/ntfy:v2.1.2 # AS builder # FROM scratch AS runtime # COPY --from=builder /usr/bin/ntfy /usr/bin/ntfy COPY server.yml /etc/ntfy/server.yml ENTRYPOINT ["ntfy", "serve"] CMD []