measure ram utilisation on staging hub
Some checks failed
Deploy / CreateImage (push) Failing after 1m14s
Deploy / DeployService (push) Has been skipped

This commit is contained in:
skeris 2025-03-30 19:45:28 +03:00
parent 28a1ee950e
commit 1ec8f34238
2 changed files with 3 additions and 6 deletions

@ -1,11 +1,11 @@
FROM gitea.pena/penadevops/container-images/node:main as build FROM gitea.pena/penadevops/container-images/node:v20.14.0 as build
WORKDIR /usr/app WORKDIR /usr/app
COPY . . COPY . .
RUN npm install --force && yarn cache clean RUN npm install --force && yarn cache clean
RUN npm run build RUN psstat.sh "npm run build"
FROM gitea.pena/penadevops/container-images/nginx:main as result FROM gitea.pena/penadevops/container-images/nginx:main as result
WORKDIR /usr/share/nginx/html WORKDIR /usr/share/nginx/html

@ -25,7 +25,6 @@
"@types/react-slick": "^0.23.13", "@types/react-slick": "^0.23.13",
"axios": "^1.5.1", "axios": "^1.5.1",
"country-flag-emoji-polyfill": "^0.1.8", "country-flag-emoji-polyfill": "^0.1.8",
"cypress-file-upload": "^5.0.8",
"cytoscape": "^3.26.0", "cytoscape": "^3.26.0",
"cytoscape-popper": "^2.0.0", "cytoscape-popper": "^2.0.0",
"date-fns": "^3.0.6", "date-fns": "^3.0.6",
@ -66,10 +65,9 @@
}, },
"scripts": { "scripts": {
"start": "craco start", "start": "craco start",
"build": "craco build", "build": "NODE_OPTIONS=\"--max-old-space-size=1024\" craco build",
"test": "craco test", "test": "craco test",
"eject": "craco eject", "eject": "craco eject",
"cypress:open": "cypress open",
"code:format": "prettier --write --ignore-unknown", "code:format": "prettier --write --ignore-unknown",
"prepare": "husky install" "prepare": "husky install"
}, },
@ -92,7 +90,6 @@
"@types/react-beautiful-dnd": "^13.1.4", "@types/react-beautiful-dnd": "^13.1.4",
"@types/react-cytoscapejs": "^1.2.4", "@types/react-cytoscapejs": "^1.2.4",
"craco-alias": "^3.0.1", "craco-alias": "^3.0.1",
"cypress": "^13.6.1",
"husky": "^8.0.3", "husky": "^8.0.3",
"lint-staged": "^15.2.0", "lint-staged": "^15.2.0",
"prettier": "^3.1.1" "prettier": "^3.1.1"