fix bug dockerfile et limitation angular json

This commit is contained in:
styve Lioumba
2025-11-20 21:52:48 +01:00
parent a2521203d5
commit 40b3df8cb0
2 changed files with 16 additions and 4 deletions

View File

@@ -13,6 +13,18 @@ WORKDIR /app
COPY package*.json ./
RUN apk add --no-cache \
python3 \
make \
g++ \
cairo-dev \
pango-dev \
jpeg-dev \
giflib-dev \
pixman-dev \
freetype-dev \
build-base
RUN npm cache clean --force
RUN npm install -g @angular/cli@$NG_VERSION

View File

@@ -49,13 +49,13 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumWarning": "800kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
"maximumWarning": "10kb",
"maximumError": "20kb"
}
],
"outputHashing": "all"