fix(docker): chmod apply-overlay.sh before execution (exit 126)
This commit is contained in:
parent
01c456cd1a
commit
2a4c8d5f52
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue