From 29867aef13209d6ed53831e5452faf4b46069939 Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sun, 19 Mar 2023 23:44:44 -0600 Subject: [PATCH] refactor(node): update npm, and cmd-opts --- build/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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