File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ COPY web /src/web
9999RUN cd /src/web \
100100 && yarn \
101101 && yarn build
102+ RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
102103
103104
104105
Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ COPY web /src/web
9999RUN cd /src/web \
100100 && yarn \
101101 && npm run build
102+ RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
102103
103104
104105RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
9898COPY web /src/web
9999RUN cd /src/web \
100100 && yarn \
101- && npm run build
102-
101+ && yarn run build
102+ RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
103103
104104RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
105105
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ COPY web /src/web
126126RUN cd /src/web \
127127 && yarn \
128128 && yarn build
129+ RUN sed -i 's#app/locale/#novnc/app/locale/#' /src/web/dist/static/novnc/app/ui.js
129130
130131{% if arch == "armhf" %}
131132RUN cd /src/web/dist/static/novnc && patch -p0 < /src/web/novnc-armhf-1.patch
You can’t perform that action at this time.
0 commit comments