Revert "Make entrypoint.sh the entrypoint."

This reverts commit 0082d0d961.
This commit is contained in:
Werner Beroux 2015-07-10 14:35:28 +02:00
parent 0082d0d961
commit 8b7b70ee91
2 changed files with 3 additions and 4 deletions

View File

@ -21,5 +21,4 @@ USER ngrok
EXPOSE 4040 EXPOSE 4040
ENTRYPOINT ["/entrypoint.sh"] CMD ["/entrypoint.sh"]
CMD ["/bin/ngrok"]

View File

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