From 21e13c00e3e52f688e9549732fa321da7b2927c7 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sun, 4 Dec 2022 04:33:06 -0500 Subject: [PATCH] Fix entrypoint --- Dockerfile | 3 ++- entrypoint.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) 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