This commit is contained in:
string 2025-06-09 10:59:28 +05:30
parent 76ec6df891
commit 538fb93f22
5 changed files with 8 additions and 14885 deletions

View File

@ -1,19 +0,0 @@
# angular build
FROM node:16.20.2-alpine3.18 as build
LABEL stage=app
LABEL build_id=$BUILD_ID
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . ./
ENV NODE_OPTIONS="--max_old_space_size=4096"
RUN npm run build
# configuring nginx web-server
FROM nginx:1.17.1-alpine
#COPY --from=code /repo/cns-beta/springboot/angular-clarity-master/angular-clarity-master/default.conf /etc/nginx/conf.d/default.conf
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
#RUN ls -a /usr/share/nginx/html/
EXPOSE 80

View File

@ -30,16 +30,19 @@
"src/favicon.ico",
"src/assets"
],
"styles": [
"node_modules/@clr/icons/clr-icons.min.css",
"node_modules/@clr/ui/clr-ui.min.css",
"src/styles.scss",
"node_modules/ngx-toastr/toastr.css"
"node_modules/ngx-toastr/toastr.css",
"./node_modules/grapesjs/dist/css/grapes.min.css"
],
"scripts": [
"node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js",
"node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js",
"node_modules/@clr/icons/clr-icons.min.js"
"node_modules/@clr/icons/clr-icons.min.js",
"./node_modules/grapesjs/dist/grapes.min.js"
],
"vendorChunk": true,
"extractLicenses": false,
@ -131,4 +134,4 @@
"cli": {
"analytics": "6e7a3b23-d894-47dd-8b4b-7fdeba9a5abd"
}
}
}

View File

@ -44,6 +44,8 @@
"dom-to-image": "^2.6.0",
"express": "^4.18.2",
"file-saver": "^2.0.5",
"grapesjs": "^0.22.7",
"grapesjs-preset-webpage": "^1.0.3",
"highcharts": "^11.1.0",
"highcharts-angular": "^3.1.2",
"jquery": "^3.7.1",