diff --git a/Dockerfile b/Dockerfile
index feb22110c5cbd472e792d804b5515c5b9c4baa05..38d5a117e89354f35ed95f02eed1a645c8d30e5c 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,9 +4,12 @@ FROM node:20-alpine AS build-frontend
 # working directory for our frontend
 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
+
 # copying package.json to root folder and installing dependencies
 COPY ./frontend/package*.json ./
-RUN npm install -g @vue/cli # idk why but vuecli is not being installed with package.json
 RUN npm install
 
 # copying all of frontend to root folder in container