Update webpack-cli installation in Dockerfile.tpl

This commit is contained in:
Simon Larsen 2023-12-12 16:58:03 +00:00
parent 911872ac3c
commit 4ca1def4c8
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
4 changed files with 4 additions and 4 deletions

View File

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

View File

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

View File

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

View File

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