diff --git a/Dockerfile.amd64 b/Dockerfile.amd64 index 041d663..ca67a9f 100644 --- a/Dockerfile.amd64 +++ b/Dockerfile.amd64 @@ -99,6 +99,7 @@ COPY web /src/web RUN cd /src/web \ && yarn \ && yarn build +RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 2330d3e..d9fb545 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -99,6 +99,7 @@ COPY web /src/web RUN cd /src/web \ && yarn \ && npm run build +RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch diff --git a/Dockerfile.armhf b/Dockerfile.armhf index c7e1b6b..a0640a6 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -107,6 +107,7 @@ COPY web /src/web RUN cd /src/web \ && yarn \ && yarn run build +RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js # build frontend COPY web /src/web diff --git a/Dockerfile.j2 b/Dockerfile.j2 index fde152f..5c9039a 100644 --- a/Dockerfile.j2 +++ b/Dockerfile.j2 @@ -126,6 +126,7 @@ COPY web /src/web RUN cd /src/web \ && yarn \ && yarn build +RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js {%if arch == "armhf"%} RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch