mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2025-12-06 08:22:31 +01:00
fix: novnc language (#174)
This commit is contained in:
parent
65235ce5c0
commit
44dc8bb18b
4 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue