all-in-one/Containers/notify-push/Dockerfile
Simon L 60a692ae46 ntofiy-push - improve healthcheck
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-08-18 21:21:24 +02:00

23 lines
495 B
Docker

FROM alpine:3.18.2
COPY --chmod=775 start.sh /start.sh
COPY --chmod=775 healthcheck.sh /healthcheck.sh
RUN set -ex; \
apk add --no-cache \
ca-certificates \
netcat-openbsd \
tzdata \
bash \
openssl; \
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd; \
apk del --no-cache \
openssl;
USER 33
ENTRYPOINT ["/start.sh"]
HEALTHCHECK CMD /healthcheck.sh
LABEL com.centurylinklabs.watchtower.enable="false"