Loading Dockerfile +4 −3 Original line number Diff line number Diff line FROM debian:trixie-slim ARG VERSION_ARG="0.0" ARG VERSION_VNC="1.5.0" ARG VERSION_VNC="1.6.0-beta" ARG DEBCONF_NOWARNINGS="yes" ARG DEBIAN_FRONTEND="noninteractive" Loading Loading @@ -34,7 +34,6 @@ RUN set -eu && \ tar -xf /tmp/novnc.tar.gz -C /tmp/ && \ cd "/tmp/noVNC-${VERSION_VNC}" && \ mv app core vendor package.json *.html /usr/share/novnc && \ sed -i "s|UI\.initSetting('path', 'websockify')|UI.initSetting('path', window.location.pathname.replace(/[^/]*$/, '').substring(1) + 'websockify')|" /usr/share/novnc/app/ui.js && \ unlink /etc/nginx/sites-enabled/default && \ sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \ echo "$VERSION_ARG" > /run/version && \ Loading @@ -42,7 +41,9 @@ RUN set -eu && \ COPY --chmod=755 ./src /run/ COPY --chmod=755 ./web /var/www/ COPY --chmod=744 ./web/nginx.conf /etc/nginx/sites-enabled/web.conf COPY --chmod=755 ./web/conf/defaults.json /usr/share/novnc COPY --chmod=755 ./web/conf/mandatory.json /usr/share/novnc COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf VOLUME /storage EXPOSE 22 5900 8006 Loading web/conf/defaults.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "resize": "scale", "reconnect_delay": 3000 } web/conf/mandatory.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "reconnect": true, "autoconnect": true } web/nginx.conf→web/conf/nginx.conf +0 −4 Original line number Diff line number Diff line Loading @@ -39,10 +39,6 @@ server { root /usr/share/novnc; index vnc.html; if ($request_uri = "/") { return 301 ?resize=scale&reconnect=true&autoconnect=true; } } location /websockify { Loading Loading
Dockerfile +4 −3 Original line number Diff line number Diff line FROM debian:trixie-slim ARG VERSION_ARG="0.0" ARG VERSION_VNC="1.5.0" ARG VERSION_VNC="1.6.0-beta" ARG DEBCONF_NOWARNINGS="yes" ARG DEBIAN_FRONTEND="noninteractive" Loading Loading @@ -34,7 +34,6 @@ RUN set -eu && \ tar -xf /tmp/novnc.tar.gz -C /tmp/ && \ cd "/tmp/noVNC-${VERSION_VNC}" && \ mv app core vendor package.json *.html /usr/share/novnc && \ sed -i "s|UI\.initSetting('path', 'websockify')|UI.initSetting('path', window.location.pathname.replace(/[^/]*$/, '').substring(1) + 'websockify')|" /usr/share/novnc/app/ui.js && \ unlink /etc/nginx/sites-enabled/default && \ sed -i 's/^worker_processes.*/worker_processes 1;/' /etc/nginx/nginx.conf && \ echo "$VERSION_ARG" > /run/version && \ Loading @@ -42,7 +41,9 @@ RUN set -eu && \ COPY --chmod=755 ./src /run/ COPY --chmod=755 ./web /var/www/ COPY --chmod=744 ./web/nginx.conf /etc/nginx/sites-enabled/web.conf COPY --chmod=755 ./web/conf/defaults.json /usr/share/novnc COPY --chmod=755 ./web/conf/mandatory.json /usr/share/novnc COPY --chmod=744 ./web/conf/nginx.conf /etc/nginx/sites-enabled/web.conf VOLUME /storage EXPOSE 22 5900 8006 Loading
web/conf/defaults.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "resize": "scale", "reconnect_delay": 3000 }
web/conf/mandatory.json 0 → 100644 +4 −0 Original line number Diff line number Diff line { "reconnect": true, "autoconnect": true }
web/nginx.conf→web/conf/nginx.conf +0 −4 Original line number Diff line number Diff line Loading @@ -39,10 +39,6 @@ server { root /usr/share/novnc; index vnc.html; if ($request_uri = "/") { return 301 ?resize=scale&reconnect=true&autoconnect=true; } } location /websockify { Loading