feat: redesign the web console with Vue and isolated account workspaces
This commit is contained in:
+10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user