]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Remove angular cache in docker build
authorChocobozzz <me@florianbigard.com>
Mon, 3 Jan 2022 10:34:05 +0000 (11:34 +0100)
committerChocobozzz <me@florianbigard.com>
Mon, 3 Jan 2022 13:20:56 +0000 (14:20 +0100)
support/docker/production/Dockerfile.bullseye

index 6cb1a4e5f11b75136eb7b6bfd02e11dcfc9f162e..eacf6aca14a3478684b6323b8006d3150dbc6980 100644 (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