made all scripts executable
parent
9178dcf1de
commit
2bc5e49462
|
|
@ -2,14 +2,26 @@ FROM almir/webhook:latest as build
|
|||
|
||||
FROM alpine:latest
|
||||
RUN apk --no-cache add git openssh-client bash nano gettext
|
||||
|
||||
COPY --from=build /usr/local/bin/webhook /usr/local/bin/webhook
|
||||
|
||||
COPY hooks.json.tmpl /etc/webhook/hooks.json.tmpl
|
||||
|
||||
COPY entrypoint.sh /etc/webhook/entrypoint.sh
|
||||
COPY assets-hook.sh /etc/webhook/assets-hook.sh
|
||||
COPY assets-init.sh /etc/webhook/assets-init.sh
|
||||
COPY programm-hook.sh /etc/webhook/programm-hook.sh
|
||||
COPY programm-init.sh /etc/webhook/programm-init.sh
|
||||
RUN chmod +x /etc/webhook/entrypoint.sh
|
||||
|
||||
COPY assets-hook.sh /etc/webhook/assets-hook.sh
|
||||
RUN chmod +x /etc/webhook/assets-hook.sh
|
||||
|
||||
COPY assets-init.sh /etc/webhook/assets-init.sh
|
||||
RUN chmod +x /etc/webhook/assets-init.sh
|
||||
|
||||
COPY programm-hook.sh /etc/webhook/programm-hook.sh
|
||||
RUN chmod +x /etc/webhook/programm-hook.sh
|
||||
|
||||
COPY programm-init.sh /etc/webhook/programm-init.sh
|
||||
RUN chmod +x /etc/webhook/programm-init.sh
|
||||
|
||||
WORKDIR /etc/webhook
|
||||
EXPOSE 9000
|
||||
ENTRYPOINT ["/etc/webhook/entrypoint.sh"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue