Skip to content

Commit

Permalink
chore: upgrade npm
Browse files Browse the repository at this point in the history
  • Loading branch information
rorlic committed Aug 1, 2024
1 parent 6ac51a6 commit 44e124d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# build environment
FROM node:21-bullseye-slim AS builder
# fix vulnerabilities
ARG NPM_TAG=9.9.2
ARG NPM_TAG=10.8.2
RUN npm install -g npm@${NPM_TAG}
# build it
WORKDIR /build
Expand All @@ -17,7 +17,7 @@ RUN apt-get -y update && apt-get -y upgrade
RUN apt-get -y install apt-utils
WORKDIR /usr/vsds/simulator
# fix vulnerabilities
ARG NPM_TAG=9.9.2
ARG NPM_TAG=10.8.2
RUN npm install -g npm@${NPM_TAG}
## setup to run as less-privileged user
COPY --chown=node:node --from=builder /build/package*.json ./
Expand Down

0 comments on commit 44e124d

Please sign in to comment.