From d6e90c2dbdc999d84f31082e2011b81591658878 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Mon, 12 Dec 2022 12:38:12 -0700 Subject: [PATCH] Add generic entrypoint --- container-build/cerc-builder-js/Dockerfile | 5 ++++- container-build/cerc-builder-js/entrypoint.sh | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100755 container-build/cerc-builder-js/entrypoint.sh diff --git a/container-build/cerc-builder-js/Dockerfile b/container-build/cerc-builder-js/Dockerfile index 1f02083..faea9b3 100644 --- a/container-build/cerc-builder-js/Dockerfile +++ b/container-build/cerc-builder-js/Dockerfile @@ -33,4 +33,7 @@ RUN \ # RUN su node -c "source /usr/local/share/nvm/nvm.sh && nvm install ${EXTRA_NODE_VERSION}" # [Optional] Uncomment if you want to install more global node modules -# RUN su node -c "npm install -g " \ No newline at end of file +# RUN su node -c "npm install -g " + +COPY entrypoint.sh entrypoint.sh +ENTRYPOINT ./entrypoint.sh diff --git a/container-build/cerc-builder-js/entrypoint.sh b/container-build/cerc-builder-js/entrypoint.sh new file mode 100755 index 0000000..311cb8c --- /dev/null +++ b/container-build/cerc-builder-js/entrypoint.sh @@ -0,0 +1,2 @@ +#!/bin/sh +exec "$@"