measure ram utilisation on staging hub
This commit is contained in:
parent
b6646ed54f
commit
1131ef915f
@ -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
|
||||||
|
|
||||||
RUN apk update && rm -rf /var/cache/apk/*
|
RUN apk update && rm -rf /var/cache/apk/*
|
||||||
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
|
@ -3,7 +3,7 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "craco start",
|
"start": "NODE_OPTIONS=\"--max-old-space-size=1024\" craco start",
|
||||||
"build": "craco build",
|
"build": "craco build",
|
||||||
"test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
|
"test": "craco test --env=node --transformIgnorePatterns \"node_modules/(?!@frontend)/\"",
|
||||||
"test:cart": "vitest ./src/utils/calcCart",
|
"test:cart": "vitest ./src/utils/calcCart",
|
||||||
|
Loading…
Reference in New Issue
Block a user