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" ]