2023-10-31 19:41:11 +01:00
|
|
|
## ANGULAR THEME BUILD
|
|
|
|
|
2023-10-31 03:24:17 +01:00
|
|
|
FROM node:16-alpine as angular
|
|
|
|
|
2023-10-31 19:41:11 +01:00
|
|
|
WORKDIR angular
|
2023-10-31 03:24:17 +01:00
|
|
|
|
|
|
|
COPY inc ./
|
|
|
|
|
2023-11-01 02:52:30 +01:00
|
|
|
# RUN npm install -g @angular/cli
|
|
|
|
# RUN ng config -g cli.warnings.versionMismatch false
|
2023-10-31 03:24:17 +01:00
|
|
|
RUN npm install
|
|
|
|
|
2023-10-31 19:41:11 +01:00
|
|
|
RUN npm run build:ssr --prod --proxy-config
|
2023-10-31 03:24:17 +01:00
|
|
|
|
2023-10-31 19:41:11 +01:00
|
|
|
CMD npm run serve:ssr -c production --proxy-config
|