Skip to content
Snippets Groups Projects
Commit cd4d1be7 authored by Jukka Veijanen's avatar Jukka Veijanen
Browse files

Add npm audit

parent a91e2f52
No related branches found
No related tags found
1 merge request!11Add npm audit
...@@ -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 -g 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