treat hls.js release as a zip file

This commit is contained in:
deflax 2021-10-11 18:27:53 +00:00
parent 2dfe8df171
commit 3be6173b03

View file

@ -13,8 +13,8 @@ RUN chmod 644 /code/static/flv.min.js
RUN mkdir -p /tmp/hls.js && \ RUN mkdir -p /tmp/hls.js && \
cd /tmp/hls.js && \ cd /tmp/hls.js && \
wget -O hls.js.tar.gz https://github.com/video-dev/hls.js/releases/download/v1.0.11/release.zip && \ wget -O hls.js.zip https://github.com/video-dev/hls.js/releases/download/v1.0.11/release.zip && \
tar zxvf hls.js.tar.gz && unzip hls.js.zip
ADD /tmp/hls.js/dist/hls.min.js /code/static/hls.min.js ADD /tmp/hls.js/dist/hls.min.js /code/static/hls.min.js
USER nobody USER nobody