1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 13:58:42 +00:00

update webhook

This commit is contained in:
kev 2019-01-09 19:01:55 +08:00
parent 15cec50abe
commit 71b28d23b8

@ -15,7 +15,8 @@ FROM alpine
MAINTAINER kev <noreply@easypi.pro>
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"]