From 054a7f10e6c76dc849a1fe2df5e212b0a242275e Mon Sep 17 00:00:00 2001 From: Andre Challier Date: Wed, 27 Mar 2024 13:17:35 +0100 Subject: [PATCH] added content to webhooks-git dockerfile --- webhooks-git/Dockerfile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/webhooks-git/Dockerfile b/webhooks-git/Dockerfile index e69de29..40b58f4 100644 --- a/webhooks-git/Dockerfile +++ b/webhooks-git/Dockerfile @@ -0,0 +1,10 @@ +FROM almir/webhook +COPY hooks.json.example /etc/webhook/hooks.json + +FROM alpine +RUN apk --no-cache add git openssh-client bash nano +COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook +WORKDIR /etc/webhook +EXPOSE 9000 +ENTRYPOINT ["/usr/local/bin/webhook"] +CMD ["-verbose", "-hooks=/etc/webhook/hooks.json", "-hotreload"] \ No newline at end of file