From 4ca1def4c8c3f74403b87a7e5a116a4d33cf859f Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Tue, 12 Dec 2023 16:58:03 +0000 Subject: [PATCH] Update webpack-cli installation in Dockerfile.tpl --- Accounts/Dockerfile.tpl | 2 +- AdminDashboard/Dockerfile.tpl | 2 +- Dashboard/Dockerfile.tpl | 2 +- StatusPage/Dockerfile.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Accounts/Dockerfile.tpl b/Accounts/Dockerfile.tpl index ca586186f0..5920b2f141 100644 --- a/Accounts/Dockerfile.tpl +++ b/Accounts/Dockerfile.tpl @@ -80,7 +80,7 @@ CMD [ "npm", "run", "dev" ] # Copy app source COPY ./Accounts /usr/src/app # Bundle app source -RUN npm i -g webpack-cli +RUN npm i webpack-cli RUN npm run build #Run the app CMD [ "npm", "start" ] diff --git a/AdminDashboard/Dockerfile.tpl b/AdminDashboard/Dockerfile.tpl index 6ce5034b7e..7b3c872ab8 100644 --- a/AdminDashboard/Dockerfile.tpl +++ b/AdminDashboard/Dockerfile.tpl @@ -76,7 +76,7 @@ CMD [ "npm", "run", "dev" ] # Copy app source COPY ./AdminDashboard /usr/src/app # Bundle app source -RUN npm i -g webpack-cli +RUN npm i webpack-cli RUN npm run build #Run the app CMD [ "npm", "start" ] diff --git a/Dashboard/Dockerfile.tpl b/Dashboard/Dockerfile.tpl index 83fa15c916..ebfd5e4c6f 100644 --- a/Dashboard/Dockerfile.tpl +++ b/Dashboard/Dockerfile.tpl @@ -75,7 +75,7 @@ CMD [ "npm", "run", "dev" ] # Copy app source COPY ./Dashboard /usr/src/app # Bundle app source -RUN npm i -g webpack-cli +RUN npm i webpack-cli RUN npm run build #Run the app CMD [ "npm", "start" ] diff --git a/StatusPage/Dockerfile.tpl b/StatusPage/Dockerfile.tpl index b447a7eb35..6b8b558a4a 100644 --- a/StatusPage/Dockerfile.tpl +++ b/StatusPage/Dockerfile.tpl @@ -77,7 +77,7 @@ CMD [ "npm", "run", "dev" ] # Copy app source COPY ./StatusPage /usr/src/app # Bundle app source -RUN npm i -g webpack-cli +RUN npm i webpack-cli RUN npm run build #Run the app CMD [ "npm", "start" ]