Skip to content

Commit

Permalink
Fix the npm vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
gabmontes committed Mar 4, 2025
1 parent dacb5cb commit 04ec910
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/docker-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
ignore-unfixed: true
image-ref: ${{ github.repository }}:${{ github.sha }}
list-all-pkgs: true
scan-ref: ${{ github.workspace}}/${{ matrix.context }}
severity: HIGH,CRITICAL
strategy:
matrix:
Expand Down
3 changes: 3 additions & 0 deletions staking-points/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM node:20.18.3-alpine

ENV NODE_ENV=production

# Fix the cross-spawn vulnerability in the preinstalled npm version
RUN npm i --global [email protected]

WORKDIR /app

COPY package*.json .
Expand Down

0 comments on commit 04ec910

Please sign in to comment.