refactor(node): update npm, and cmd-opts
This commit is contained in:
parent
cc8f0507f2
commit
29867aef13
@ -10,7 +10,7 @@ ARG ALPINE_VERSION
|
|||||||
# install node dependences
|
# install node dependences
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY [ "package.json", "package-lock.json", "./" ]
|
COPY [ "package.json", "package-lock.json", "./" ]
|
||||||
RUN npm ci --production
|
RUN npm install -g npm@latest && npm ci --omit=dev
|
||||||
|
|
||||||
# final container
|
# final container
|
||||||
FROM alpine:${ALPINE_VERSION} as final
|
FROM alpine:${ALPINE_VERSION} as final
|
||||||
|
Loading…
Reference in New Issue
Block a user