fix: frontend Docker build output to ./dist instead of ../backend/static

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-13 22:52:48 +08:00
parent d5b4cc7b77
commit 80a0e7eeb6
+2 -1
View File
@@ -5,7 +5,8 @@ WORKDIR /app
COPY web/frontend/package.json web/frontend/package-lock.json* ./
RUN npm install
COPY web/frontend/ .
RUN npm run build
# Override outDir for Docker build (vite config uses ../backend/static for local dev)
RUN npx vite build --outDir ./dist
# Production stage
FROM nginx:alpine