From 0ff555ef1206df8bd3030d4bf395f3119c5a3f7c Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 21 Feb 2023 14:42:29 +0100 Subject: [PATCH] feat: Sanitize dockerfile --- Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0434dab..7e513f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,9 @@ -FROM binwiederhier/ntfy +FROM binwiederhier/ntfy:v2.0.1 + +# 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 []