mirror of
https://git.srhtnin.garden/sarah/SaraView.git
synced 2026-10-13 18:28:14 +02:00
Client: Mermaid diagrams, drawn by the server
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
292614c696
commit
f99b227cc3
9 files changed
+446
-16
No files matched your search
@@ -9,8 +9,12 @@ FROM python:3.12-slim
|
||||
WORKDIR /App
|
||||
COPY Backend/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Headless Chromium for drawing the desktop client's diagrams (Backend/Diagrams.py).
|
||||
RUN playwright install --with-deps --only-shell chromium
|
||||
COPY Backend/ ./Backend/
|
||||
COPY --from=FrontendBuild /Frontend/dist ./Frontend/dist
|
||||
# The same Mermaid the web view uses, for Backend/Diagrams.py.
|
||||
COPY --from=FrontendBuild /Frontend/node_modules/mermaid/dist/mermaid.min.js ./Backend/Vendor/mermaid.min.js
|
||||
|
||||
WORKDIR /App/Backend
|
||||
EXPOSE 8420
|
||||
|
||||
Reference in new issue
Block a user