refactor(node): update npm, and cmd-opts

This commit is contained in:
Asif Bacchus 2023-03-19 23:44:44 -06:00
parent cc8f0507f2
commit 29867aef13

View File

@ -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