From 142d6360bbc2d5a303d4eff1bae668f2327c3fef Mon Sep 17 00:00:00 2001
From: abdu <abdukiran@gmail.com>
Date: Sun, 10 Nov 2024 19:25:58 +0100
Subject: [PATCH] move vue cli installation since it timed out

---
 Dockerfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Dockerfile b/Dockerfile
index feb2211..38d5a11 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
-- 
GitLab