From de38b39ea3220308b382db5544d11c7a1a22686a Mon Sep 17 00:00:00 2001
From: Jukka Veijanen <k0426@student.jamk.fi>
Date: Wed, 25 Nov 2020 17:07:34 +0200
Subject: [PATCH] Remove -g parameter to able to run as nodeuser

---
 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index 6f62dd3..178dee2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,7 +18,7 @@ RUN npm install
 # RUN npm ci --only=production
 
 # Check vulnerabilities
-RUN npm install -g npm-audit-html
+RUN npm install npm-audit-html
 RUN npm audit --json | npm-audit-html --output report.html
 
 # Bundle app source
-- 
GitLab