Skip to content
Snippets Groups Projects
Commit 42de8843 authored by P1375's avatar P1375
Browse files

Merge branch 'npm-audit' into 'master'

Remove -g parameter to able to run as nodeuser

See merge request !13
parents 02b73590 84fda65c
No related branches found
No related tags found
1 merge request!13Remove -g parameter to able to run as nodeuser
Pipeline #283396 failed
...@@ -17,6 +17,10 @@ RUN npm install ...@@ -17,6 +17,10 @@ RUN npm install
# If you are building your code for production # If you are building your code for production
# RUN npm ci --only=production # RUN npm ci --only=production
# Check vulnerabilities
RUN npm install npm-audit-html
RUN npm audit --json | npm-audit-html --output report.html
# Bundle app source # Bundle app source
COPY . . COPY . .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment