From 1b0407ae3c21f3f7bcc102afe8b2eb91d1a90cda Mon Sep 17 00:00:00 2001 From: David Boreham Date: Tue, 3 Jan 2023 21:39:06 -0700 Subject: [PATCH] Add scripts to image --- container-build/cerc-builder-js/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/container-build/cerc-builder-js/Dockerfile b/container-build/cerc-builder-js/Dockerfile index 8eab270..9f46037 100644 --- a/container-build/cerc-builder-js/Dockerfile +++ b/container-build/cerc-builder-js/Dockerfile @@ -25,8 +25,8 @@ RUN \ && npm cache clean --force > /dev/null 2>&1 # [Optional] Uncomment this section to install additional OS packages. -# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ -# && apt-get -y install --no-install-recommends +RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ + && apt-get -y install --no-install-recommends jq # [Optional] Uncomment if you want to install an additional version of node using nvm # ARG EXTRA_NODE_VERSION=10 @@ -35,8 +35,11 @@ RUN \ # [Optional] Uncomment if you want to install more global node modules # RUN su node -c "npm install -g " -COPY build-npm-package.sh . -COPY yarn-local-registry-fixup.sh . +RUN mkdir /scripts +COPY build-npm-package.sh /scripts +COPY yarn-local-registry-fixup.sh /scripts +COPY build-npm-package-local-dependencies.sh /scripts +ENV PATH="${PATH}:/scripts" COPY entrypoint.sh . ENTRYPOINT ["./entrypoint.sh"]