add hls.min.js.map into frontend image

This commit is contained in:
deflax 2021-10-11 20:15:48 +00:00
parent a8e0733997
commit f191e375bf

View file

@ -15,8 +15,11 @@ RUN mkdir -p /tmp/hls.js && \
cd /tmp/hls.js && \ cd /tmp/hls.js && \
wget -O hls.js.zip 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 && \
unzip hls.js.zip && \ unzip hls.js.zip && \
cp dist/hls.min.js /code/static/hls.min.js cp dist/hls.min.js /code/static/hls.min.js && \
cp dist/hls.min.js.map /code/static/hls.min.js.map
RUN chmod 644 /code/static/hls.min.js RUN chmod 644 /code/static/hls.min.js
RUN chmod 644 /code/static/hls.min.js.map
USER nobody USER nobody
WORKDIR /code WORKDIR /code