diff --git a/Dockerfile b/Dockerfile index cc1a2dc..4c7be9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,3 @@ -FROM alpine:latest - -ENTRYPOINT ["entrypoint.sh"] -COPY scripts/entrypoint.sh /usr/bin/entrypoint.sh -RUN chmod +x /usr/bin/entrypoint.sh +FROM alpine:latest +ENTRYPOINT ["/usr/bin/pingme"] COPY pingme /usr/bin/pingme \ No newline at end of file diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh deleted file mode 100755 index 8152830..0000000 --- a/scripts/entrypoint.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/usr/bin/env sh - -[ "$PINGME_USE_SERVICE" ] -: ${PINGME_USE_SERVICE:=""} - -pingme $PINGME_USE_SERVICE \ No newline at end of file