Skip to content
Snippets Groups Projects

Remove -g parameter to able to run as nodeuser

Merged k0416 requested to merge npm-audit into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -17,6 +17,10 @@ RUN npm install
# If you are building your code for 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
COPY . .
Loading