fix: change entrypoint to execut the binary

pull/12/head
kha7iq 3 years ago
parent 2c3ea4c593
commit a87d8ff4a3

@ -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

@ -1,6 +0,0 @@
#!/usr/bin/env sh
[ "$PINGME_USE_SERVICE" ]
: ${PINGME_USE_SERVICE:=""}
pingme $PINGME_USE_SERVICE
Loading…
Cancel
Save