diff --git a/Dockerfile b/Dockerfile index 2b8cd30..0731d7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,8 +23,13 @@ RUN cargo build --release # Runner stage. FROM alpine -RUN apk update && \ - apk add curl +RUN apk update \ + && apk add --no-cache \ + curl \ + catatonit \ + && rm -rf \ + /root/.cache \ + /tmp/* ARG UNAME=port_updater ARG UID=1000 @@ -38,4 +43,7 @@ USER $UNAME WORKDIR /app -ENTRYPOINT [ "/app/gluetun-qbit-port-updater" ] \ No newline at end of file +ENTRYPOINT ["/usr/bin/catatonit", "--"] +CMD ["/app/gluetun-qbit-port-updater"] + +LABEL org.opencontainers.image.source="https://git.seanomik.net/SeanOMik/gluetun-qbit-port-updater" \ No newline at end of file