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 ./ 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 cache clean --force
RUN npm install -g @angular/cli@$NG_VERSION RUN npm install -g @angular/cli@$NG_VERSION

View File

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