Revert "Make entrypoint.sh the entrypoint."
This reverts commit 0082d0d961
.
This commit is contained in:
parent
0082d0d961
commit
8b7b70ee91
|
@ -21,5 +21,4 @@ USER ngrok
|
||||||
|
|
||||||
EXPOSE 4040
|
EXPOSE 4040
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
CMD ["/bin/ngrok"]
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$1" = "/bin/sh" ]; then
|
if [ "$1" = "/bin/sh" ]; then
|
||||||
shift
|
shift
|
||||||
|
@ -55,4 +55,4 @@ case "$1" in
|
||||||
*) ARGS="$PROTOCOL $ARGS -log stdout $* $FWD" ;;
|
*) ARGS="$PROTOCOL $ARGS -log stdout $* $FWD" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
exec "$@"
|
exec /bin/ngrok $ARGS
|
||||||
|
|
Loading…
Reference in New Issue