Remove angular cache in docker build

This commit is contained in:
Chocobozzz 2022-01-03 11:34:05 +01:00
parent b18a501a0e
commit 8faa7d87a7
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ USER peertube
RUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \
&& npm run build -- $NPM_RUN_BUILD_OPTS \
&& rm -r ./node_modules ./client/node_modules \
&& rm -r ./node_modules ./client/node_modules ./client/.angular \
&& yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \
&& yarn cache clean