diff --git a/Dockerfile b/Dockerfile index b777d42dc31786d540d0a3ea27b55b50d566ab86..6f62dd3e090f5c240a376bec9edc8af174f9e655 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 -g npm-audit-html +RUN npm audit --json | npm-audit-html --output report.html + # Bundle app source COPY . .