feature/add-webhook-dockerfile #18

Merged
holzi1005 merged 12 commits from feature/add-webhook-dockerfile into main 2025-01-27 07:37:14 +01:00
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" ]