new functions and fixes

This commit is contained in:
Mateusz Gruszczyński
2026-08-05 22:13:04 +02:00
parent 9fc32d0d31
commit e842b26978
34 changed files with 2505 additions and 115 deletions
+10
View File
@@ -1,3 +1,11 @@
FROM python:3.14-slim AS browser-libs
WORKDIR /app
ARG BROWSER_LIBS_REFRESH=manual
COPY scripts/update_browser_libs.py ./scripts/update_browser_libs.py
RUN echo "Browser library refresh: ${BROWSER_LIBS_REFRESH}" \
&& python3 ./scripts/update_browser_libs.py --root /app --strict
FROM rust:slim-trixie AS builder
WORKDIR /app
@@ -5,6 +13,8 @@ COPY Cargo.toml Cargo.lock ./
COPY migrations ./migrations
COPY src ./src
COPY static ./static
COPY --from=browser-libs /app/static/libs/mermaid ./static/libs/mermaid
COPY --from=browser-libs /app/static/libs/highlight ./static/libs/highlight
RUN cargo build --release