diff --git a/Dockerfile b/Dockerfile
index 38d5a117e89354f35ed95f02eed1a645c8d30e5c..ef4bd95fe1359c9dcdd3812383d9b368601c27da 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -6,7 +6,7 @@ WORKDIR /app
 
 # idk why but vuecli is not being installed with package.json
 # so we have to manually install it
-RUN npm install -g @vue/cli
+RUN npm add global @vue/cli
 
 # copying package.json to root folder and installing dependencies
 COPY ./frontend/package*.json ./