fix: serve frontend assets below admin path

This commit is contained in:
Your Name
2026-10-13 01:09:28 +08:00
parent 35b6a37dad
commit 6d6b6a0b59
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ RUN corepack enable
COPY web/package.json web/pnpm-lock.yaml web/pnpm-workspace.yaml ./
RUN pnpm install --frozen-lockfile
COPY web/ ./
ENV VITE_PUBLIC_PATH=/admin/
RUN pnpm run build
# ---- Stage 2: build the Go backend ----