diff --git a/build/Dockerfile b/build/Dockerfile index d30268f..0b580bb 100644 --- a/build/Dockerfile +++ b/build/Dockerfile @@ -10,7 +10,7 @@ ARG ALPINE_VERSION # install node dependences WORKDIR /build COPY [ "package.json", "package-lock.json", "./" ] -RUN npm ci --production +RUN npm install -g npm@latest && npm ci --omit=dev # final container FROM alpine:${ALPINE_VERSION} as final