diff options
author | Chocobozzz <me@florianbigard.com> | 2022-02-28 09:39:47 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-02-28 10:42:19 +0100 |
commit | a24bf4dc659cebb65d887862bf21d7a35e9ec791 (patch) | |
tree | ea23656e797eef1e0973b40a2519b7a7a4acaac0 | |
parent | d0800f7661f13fabe7bb6f4aa0ea50764f106405 (diff) | |
download | PeerTube-a24bf4dc659cebb65d887862bf21d7a35e9ec791.tar.gz PeerTube-a24bf4dc659cebb65d887862bf21d7a35e9ec791.tar.zst PeerTube-a24bf4dc659cebb65d887862bf21d7a35e9ec791.zip |
Try to fix ARM docker builds
-rw-r--r-- | support/docker/production/Dockerfile.bullseye | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/support/docker/production/Dockerfile.bullseye b/support/docker/production/Dockerfile.bullseye index ac97ddce3..77b5d96dd 100644 --- a/support/docker/production/Dockerfile.bullseye +++ b/support/docker/production/Dockerfile.bullseye | |||
@@ -16,7 +16,9 @@ WORKDIR /app | |||
16 | 16 | ||
17 | USER peertube | 17 | USER peertube |
18 | 18 | ||
19 | RUN yarn install --pure-lockfile --network-timeout 1200000 --network-concurrency 20 \ | 19 | # Install manually client dependencies to apply our network timeout option |
20 | RUN cd client && yarn install --pure-lockfile --network-timeout 1200000 && cd ../ \ | ||
21 | && yarn install --pure-lockfile --network-timeout 1200000 \ | ||
20 | && npm run build \ | 22 | && npm run build \ |
21 | && rm -r ./node_modules ./client/node_modules ./client/.angular \ | 23 | && rm -r ./node_modules ./client/node_modules ./client/.angular \ |
22 | && yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \ | 24 | && yarn install --pure-lockfile --production --network-timeout 1200000 --network-concurrency 20 \ |