feat: ADD syntax highlighting - lazyload only when selected - avoided autodetec bc of bloat #6
This commit is contained in:
parent
a8c9f72296
commit
ba36703a71
3 changed files with 185 additions and 14 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue