fix(docker): chmod apply-overlay.sh before execution (exit 126)
Some checks failed
ci / race tests (push) Blocked by required conditions
ci / WebRTC smoke (5-viewer fanout) (push) Blocked by required conditions
ci / WebRTC latency p95 gate (push) Blocked by required conditions
ci / vet + build (push) Has been cancelled

This commit is contained in:
Zac Gaetano 2026-05-09 16:25:28 -04:00
parent 01c456cd1a
commit 2a4c8d5f52

View file

@ -55,8 +55,10 @@ RUN git clone --depth=1 --branch ${RESTREAMER_UI_REF} \
WORKDIR /ui WORKDIR /ui
RUN yarn install --frozen-lockfile --network-timeout 600000 RUN yarn install --frozen-lockfile --network-timeout 600000
# Apply Wild Dragon branding + WebRTC controls # Apply Wild Dragon branding + WebRTC controls.
RUN OVERLAY=/wd-ui/overlay UI=/ui /wd-ui/apply-overlay.sh # chmod is required because git may clone the script without +x.
RUN chmod +x /wd-ui/apply-overlay.sh && \
OVERLAY=/wd-ui/overlay UI=/ui /wd-ui/apply-overlay.sh
RUN PUBLIC_URL="./" GENERATE_SOURCEMAP=false yarn build RUN PUBLIC_URL="./" GENERATE_SOURCEMAP=false yarn build