Try to fix docker build

This commit is contained in:
Chocobozzz
2022-01-03 11:01:39 +01:00
parent cc4bf76c13
commit b18a501a0e
3 changed files with 14 additions and 14 deletions

View File

@@ -21,10 +21,10 @@ WORKDIR /app
USER peertube
RUN yarn install --pure-lockfile --network-timeout 1200000 \
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 \
&& yarn install --pure-lockfile --production --network-timeout 1200000 \
&& yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \
&& yarn cache clean
USER root