diff --git a/Dockerfile b/Dockerfile index 4f32991..e629f9f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,15 @@ RUN pip install --no-cache-dir --no-index --find-links=/wheels /wheels/* \ COPY --chown=app:app . . RUN chmod +x entrypoint.sh +# Materialise the brand asset as a real file. In dev, app/static/brand/logo.svg +# is a symlink to docs/icon.svg (live editing); here we replace it with a copy +# so the runtime image is self-contained and doesn't depend on symlink +# resolution or docs/ surviving in the image. Idempotent: -f removes the +# symlink (or stale copy) first. +RUN rm -f app/static/brand/logo.svg \ + && cp docs/icon.svg app/static/brand/logo.svg \ + && chown app:app app/static/brand/logo.svg + USER app ENV FLASK_APP=wsgi.py \ diff --git a/app/about/templates/about/about.html b/app/about/templates/about/about.html index 6cb2c9e..61cb12b 100644 --- a/app/about/templates/about/about.html +++ b/app/about/templates/about/about.html @@ -1,6 +1,6 @@ {% extends "base.html" %} -{% block title %}About — TKC Library{% endblock %} +{% block title %}About — Librarian{% endblock %} {% block extra_styles %}