Skip to content

Commit 4a5dc7a

Browse files
committed
Add favicon.svg
Signed-off-by: Carl Pearson <cwpears@sandia.gov>
1 parent 05c3800 commit 4a5dc7a

4 files changed

Lines changed: 21 additions & 0 deletions

File tree

bare.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
3738
COPY --from=build --chown=1001:0 /out/app.wasm* /opt/bibcheck/web/
3839
COPY --from=build --chown=1001:0 /out/wasm_exec.js* /opt/bibcheck/web/
3940
COPY --from=build --chown=1001:0 /out/index.html* /opt/bibcheck/web/
41+
COPY --from=build --chown=1001:0 /out/favicon.svg /opt/bibcheck/web/
4042
COPY --from=build --chown=1001:0 /out/style.css* /opt/bibcheck/web/
4143
COPY --from=build --chown=1001:0 /out/footer.css* /opt/bibcheck/web/
4244

snl.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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
4344
COPY --from=build --chown=1001:0 /out/app.wasm* /opt/bibcheck/web/
4445
COPY --from=build --chown=1001:0 /out/wasm_exec.js* /opt/bibcheck/web/
4546
COPY --from=build --chown=1001:0 /out/index.html* /opt/bibcheck/web/
47+
COPY --from=build --chown=1001:0 /out/favicon.svg /opt/bibcheck/web/
4648
COPY --from=build --chown=1001:0 /out/style.css* /opt/bibcheck/web/
4749
COPY --from=build --chown=1001:0 /out/footer.css* /opt/bibcheck/web/
4850

web/static/favicon.svg

Lines changed: 16 additions & 0 deletions
Loading

web/static/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
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>

0 commit comments

Comments
 (0)