diff --git a/Dockerfile b/Dockerfile index 8c62792..569cd5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,4 +20,5 @@ COPY scripts/precise-lite-convert-h5 /usr/local/bin/precise-lite-convert-h5 COPY scripts/convert_h5.py /usr/local/lib/python3.6/dist-packages/precise_lite/scripts/convert_h5.py COPY entrypoint.sh /entrypoint.sh -ENTRYPOINT "/entrypoint.sh" \ No newline at end of file +ENTRYPOINT ["/entrypoint.sh"] +CMD ["/bin/bash"] \ No newline at end of file diff --git a/entrypoint.sh b/entrypoint.sh index 5ae1c70..555486e 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,3 +1,5 @@ #!/bin/bash -exec "$@" \ No newline at end of file +set -e + +exec $@ \ No newline at end of file