feat: redesign the web console with Vue and isolated account workspaces

This commit is contained in:
AttilaNet
2026-11-11 09:35:54 +08:00
parent 99aff423d8
commit ff6a828f58
46 changed files with 4549 additions and 748 deletions
+10
View File
@@ -1,3 +1,11 @@
FROM node:22-bookworm-slim AS web-build
WORKDIR /build
COPY frontend/package*.json ./frontend/
RUN npm --prefix frontend ci --no-audit --no-fund
COPY frontend/ ./frontend/
COPY ranch_web/static/ ./ranch_web/static/
RUN npm --prefix frontend run build
FROM python:3.12-slim-bookworm
ARG WEB_VERSION=2.0.0.dev1
@@ -25,6 +33,8 @@ RUN python -m pip install --no-cache-dir -r /tmp/web-requirements.txt \
COPY ranch_assistant/ /app/ranch_assistant/
COPY ranch_web/ /app/ranch_web/
COPY --from=web-build /build/ranch_web/static/console/ /app/ranch_web/static/console/
COPY --from=web-build /build/ranch_web/static/index.html /app/ranch_web/static/index.html
USER 10001:10001
EXPOSE 8765