feat: ADD syntax highlighting - lazyload only when selected - avoided autodetec bc of bloat #6

This commit is contained in:
Caffeine Fueled 2026-09-02 18:31:20 +02:00
parent a8c9f72296
commit ba36703a71
Signed by: cf7
GPG key ID: CA295D643074C68C
3 changed files with 185 additions and 14 deletions

View file

@ -53,6 +53,9 @@ COPY --from=builder --chown=nonroot:nonroot /opt/venv /opt/venv
# Application source (its own layer so source-only changes don't bust dep cache)
COPY --chown=nonroot:nonroot app.py favicon.ico /app/
# Vendored highlight.js ES modules (see vendor/fetch.sh). Baked in at build time:
# the runtime is distroless with a read-only rootfs and no network dependency.
COPY --chown=nonroot:nonroot vendor /app/vendor
USER nonroot
EXPOSE 8000