feature/add-webhook-dockerfile #18
1 changed files with 4 additions and 2 deletions
|
@ -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" ]
|
||||
|
|
Loading…
Reference in a new issue