12 lines
459 B
Docker
12 lines
459 B
Docker
FROM almir/webhook:latest as build
|
|
COPY hooks.json.example /etc/webhook/hooks.json
|
|
|
|
FROM alpine:latest
|
|
RUN apk --no-cache add git openssh-client bash nano
|
|
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
|
|
COPY entrypoint.sh /etc/webhook/entrypoint.sh
|
|
RUN chmod +x /etc/webhook/entrypoint.sh
|
|
WORKDIR /etc/webhook
|
|
EXPOSE 9000
|
|
ENTRYPOINT ["/bin/bash /etc/webhook/entrypoint.sh"]
|
|
CMD [""] |