diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a7ffbd4..93db403 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -14,8 +14,9 @@ RUN chmod 644 /code/static/flv.min.js RUN mkdir -p /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 && \ - unzip hls.js.zip -ADD /tmp/hls.js/dist/hls.min.js /code/static/hls.min.js + unzip hls.js.zip && \ + cp dist/hls.min.js /code/static/hls.min.js +RUN chmod 644 /code/static/hls.min.js USER nobody WORKDIR /code diff --git a/frontend/app/templates/default/player.html.j2 b/frontend/app/templates/default/player.html.j2 index 281e365..faa1781 100644 --- a/frontend/app/templates/default/player.html.j2 +++ b/frontend/app/templates/default/player.html.j2 @@ -15,18 +15,30 @@ - - +