1
0
Fork 0

Try to fix ARM docker builds

This commit is contained in:
Chocobozzz 2022-02-28 09:39:47 +01:00 committed by Chocobozzz
parent d0800f7661
commit a24bf4dc65

View file

@ -16,7 +16,9 @@ WORKDIR /app
USER peertube
RUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \
# Install manually client dependencies to apply our network timeout option
RUN cd client && yarn install --pure-lockfile --network-timeout 1200000 && cd ../ \
&& yarn install --pure-lockfile --network-timeout 1200000 \
&& npm run build \
&& rm -r ./node_modules ./client/node_modules ./client/.angular \
&& yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \