Skip to content

Commit

Permalink
fix NPM vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
DnOberon committed Jan 4, 2023
1 parent f92a835 commit 5d112c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ WORKDIR /srv/core_api
COPY package*.json ./

RUN npm update --location=global
RUN npm install npm@latest --location=global
RUN npm install cargo-cp-artifact --location=global

# Bundle app source
Expand All @@ -45,6 +46,7 @@ RUN apt-get update

WORKDIR /srv/core_api

RUN npm install npm@latest --location=global
RUN npm update --location=global
RUN npm install pm2 --location=global

Expand Down

0 comments on commit 5d112c8

Please sign in to comment.