mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
Update webpack-cli installation in Dockerfile.tpl
This commit is contained in:
parent
911872ac3c
commit
4ca1def4c8
@ -80,7 +80,7 @@ CMD [ "npm", "run", "dev" ]
|
|||||||
# Copy app source
|
# Copy app source
|
||||||
COPY ./Accounts /usr/src/app
|
COPY ./Accounts /usr/src/app
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
RUN npm i -g webpack-cli
|
RUN npm i webpack-cli
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
#Run the app
|
#Run the app
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
@ -76,7 +76,7 @@ CMD [ "npm", "run", "dev" ]
|
|||||||
# Copy app source
|
# Copy app source
|
||||||
COPY ./AdminDashboard /usr/src/app
|
COPY ./AdminDashboard /usr/src/app
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
RUN npm i -g webpack-cli
|
RUN npm i webpack-cli
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
#Run the app
|
#Run the app
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
@ -75,7 +75,7 @@ CMD [ "npm", "run", "dev" ]
|
|||||||
# Copy app source
|
# Copy app source
|
||||||
COPY ./Dashboard /usr/src/app
|
COPY ./Dashboard /usr/src/app
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
RUN npm i -g webpack-cli
|
RUN npm i webpack-cli
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
#Run the app
|
#Run the app
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
@ -77,7 +77,7 @@ CMD [ "npm", "run", "dev" ]
|
|||||||
# Copy app source
|
# Copy app source
|
||||||
COPY ./StatusPage /usr/src/app
|
COPY ./StatusPage /usr/src/app
|
||||||
# Bundle app source
|
# Bundle app source
|
||||||
RUN npm i -g webpack-cli
|
RUN npm i webpack-cli
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
#Run the app
|
#Run the app
|
||||||
CMD [ "npm", "start" ]
|
CMD [ "npm", "start" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user