File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ RUN mkdir -p /out && \
2727 cp "$(go env GOROOT)/lib/wasm/wasm_exec.js" /out/wasm_exec.js && \
2828 cp web/static/*.html /out/ && \
2929 cp web/static/*.css /out/ && \
30+ cp web/static/*.svg /out/ && \
3031 for file in /out/*.wasm /out/*.html /out/*.css /out/*.js; do gzip -k -f "$file" && brotli -k -f "$file" ; done && \
3132 chmod -R g=u /out
3233
@@ -37,6 +38,7 @@ COPY --from=build --chown=1001:0 /out/bibcheck /usr/local/bin/bibcheck
3738COPY --from=build --chown=1001:0 /out/app.wasm* /opt/bibcheck/web/
3839COPY --from=build --chown=1001:0 /out/wasm_exec.js* /opt/bibcheck/web/
3940COPY --from=build --chown=1001:0 /out/index.html* /opt/bibcheck/web/
41+ COPY --from=build --chown=1001:0 /out/favicon.svg /opt/bibcheck/web/
4042COPY --from=build --chown=1001:0 /out/style.css* /opt/bibcheck/web/
4143COPY --from=build --chown=1001:0 /out/footer.css* /opt/bibcheck/web/
4244
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ RUN mkdir -p /out && \
3030 cp "$(go env GOROOT)/lib/wasm/wasm_exec.js" /out/wasm_exec.js && \
3131 cp web/static/*.html /out/ && \
3232 cp web/static/*.css /out/ && \
33+ cp web/static/*.svg /out/ && \
3334 for file in /out/*.wasm /out/*.html /out/*.css /out/*.js; do gzip -k -f "$file" && brotli -k -f "$file" ; done && \
3435 chmod -R g=u /out
3536
@@ -43,6 +44,7 @@ COPY --from=build --chown=1001:0 /out/bibcheck /usr/local/bin/bibcheck
4344COPY --from=build --chown=1001:0 /out/app.wasm* /opt/bibcheck/web/
4445COPY --from=build --chown=1001:0 /out/wasm_exec.js* /opt/bibcheck/web/
4546COPY --from=build --chown=1001:0 /out/index.html* /opt/bibcheck/web/
47+ COPY --from=build --chown=1001:0 /out/favicon.svg /opt/bibcheck/web/
4648COPY --from=build --chown=1001:0 /out/style.css* /opt/bibcheck/web/
4749COPY --from=build --chown=1001:0 /out/footer.css* /opt/bibcheck/web/
4850
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
66 < title > Bibcheck</ title >
7+ < link rel ="icon " href ="/favicon.svg " type ="image/svg+xml ">
78 < link rel ="stylesheet " href ="/style.css ">
89 < link rel ="stylesheet " href ="/footer.css ">
910 < script src ="/wasm_exec.js "> </ script >
You can’t perform that action at this time.
0 commit comments