From 71b28d23b8e1f9f0f943fcf5c39b1bec9c680efd Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 9 Jan 2019 19:01:55 +0800 Subject: [PATCH] update webhook --- webhook/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webhook/Dockerfile b/webhook/Dockerfile index 2b3b06d..037a06d 100644 --- a/webhook/Dockerfile +++ b/webhook/Dockerfile @@ -15,7 +15,8 @@ FROM alpine MAINTAINER kev RUN apk add --no-cache bash coreutils curl jq COPY --from=build /go/bin/webhook /usr/local/bin/ +WORKDIR /etc/webhook VOLUME /etc/webhook EXPOSE 9000 ENTRYPOINT ["webhook"] -CMD ["-header", "Access-Control-Allow-Origin=*", "-hooks", "/etc/webhook/hooks.json", "-verbose"] +CMD ["-header", "Access-Control-Allow-Origin=*", "-hooks", "hooks.json", "-verbose"]