feature/add-webhook-dockerfile #18

Open
holzi1005 wants to merge 12 commits from feature/add-webhook-dockerfile into main
Showing only changes of commit c1d2592d7e - Show all commits

View file

@ -30,8 +30,10 @@ RUN wget https://github.com/adnanh/webhook/releases/download/${VERSION}/webhook-
RUN echo "- id: whoami-webhook" > hooks.yaml \
&& echo " execute-command: 'whoami'" >> hooks.yaml
EXPOSE 9000
USER webhook
EXPOSE 9000
HEALTHCHECK --timeout=4s CMD curl --silent --fail http://127.0.0.1:9000/ || exit 1
CMD [ "./webhook", "-hooks", "hooks.yaml", "-verbose" ]