diff --git a/Dockerfile b/Dockerfile index b777d42dc31786d540d0a3ea27b55b50d566ab86..178dee28990745c0b650c826d313062d6564d998 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 . .