From ff374159cfcb95e3f51edec2c4448a0e5cf6451b Mon Sep 17 00:00:00 2001 From: Pascal Kaufmann Date: Tue, 22 Oct 2024 16:29:20 +0200 Subject: [PATCH] Fix kitchensink Dockerfile --- examples/kitchensink/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/kitchensink/Dockerfile b/examples/kitchensink/Dockerfile index 6766d9f42f..1f98c03692 100644 --- a/examples/kitchensink/Dockerfile +++ b/examples/kitchensink/Dockerfile @@ -5,7 +5,7 @@ RUN mkdir -p /source WORKDIR /source ADD package* /source/ -RUN NODE_ENV=development npm ci +RUN NODE_ENV=development npm install ADD . /source/ @@ -20,7 +20,7 @@ RUN apk add --no-cache --update curl # Copy the app WORKDIR /webapp COPY --from=bundler /source /webapp -RUN NODE_ENV=production npm ci --omit=dev +RUN NODE_ENV=production npm install --omit=dev ARG GIT_COMMIT="n/a" RUN echo "${GIT_COMMIT}" > /webapp/version.txt