18 lines
451 B
Plaintext
18 lines
451 B
Plaintext
|
FROM alpine
|
||
|
|
||
|
RUN apk update && apk add --no-cache tini bash ca-certificates openssl perl perl-mojolicious
|
||
|
|
||
|
RUN mkdir -p /opt/webhook2_ntfy/
|
||
|
ADD . /opt/webhook2_ntfy/
|
||
|
RUN chmod a+x /opt/webhook2_ntfy/script/webhook2_ntfy
|
||
|
WORKDIR /opt/webhook2_ntfy
|
||
|
|
||
|
RUN addgroup webhook2ntfy && adduser -D -G webhook2ntfy webhook2ntfy
|
||
|
|
||
|
ADD entrypoint.sh /entrypoint.sh
|
||
|
RUN chmod a+x /entrypoint.sh
|
||
|
|
||
|
USER webhook2ntfy
|
||
|
|
||
|
|
||
|
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
|