fix(deploy): serialize production frontend build
Some checks failed
CI / test (push) Failing after 8m44s

This commit is contained in:
sinohqb 2026-08-11 14:57:22 +08:00
parent 941df4c8c7
commit 0326ec5d03

View File

@ -11,6 +11,8 @@ RUN npm run build
FROM python:3.11.15-slim-bookworm AS runtime
WORKDIR /app
COPY --from=frontend-build /app/frontend/web/dist ./frontend/web/dist
ARG BUILD_COMMIT=unknown
ARG BUILD_TIME=unknown
ENV AGENTEVAL_BUILD_COMMIT=${BUILD_COMMIT}
@ -37,7 +39,6 @@ COPY backend ./backend
RUN pip install --no-cache-dir -e .
COPY --from=frontend-build /app/frontend/web/dist ./frontend/web/dist
COPY config/config.example.json ./config/config.json
RUN mkdir -p ./data/scenarios ./data/reports