11 lines
440 B
Docker
11 lines
440 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 ["/etc/webhook/entrypoint.sh"] |