Align CI/CD with shared infra/ci-workflows and drop compose-based CI.
CI / changes (push) Successful in 1m4s
CI / backend (push) Failing after 0s
CI / frontend (push) Failing after 0s

Replace hand-rolled jobs with @v1 callers, capped bake/migrate CD, and remove the docker-compose.ci.yml bridge workaround.
This commit is contained in:
2026-10-06 19:10:58 +08:00
parent 1124c1f079
commit 5a175e3fba
12 changed files with 397 additions and 197 deletions
+6 -5
View File
@@ -8,12 +8,13 @@ COPY package.json package-lock.json ./
RUN npm ci
COPY . .
# No VITE_API_URL build-arg needed: src/api/client.ts and src/api/fhirClient.ts
# use relative base URLs ("/api/v1", "/fhir") and rely on the nginx reverse proxy
# below to reach the api container at runtime — same origin in every environment.
RUN npm run build
# Typecheck runs in CI (npm run typecheck). Image build is vite only.
# No VITE_API_URL build-arg: src/api/client.ts and src/api/fhirClient.ts use
# relative base URLs ("/api/v1", "/fhir"); nginx reverse-proxies to the api
# container — same origin in every environment.
RUN npx vite build
FROM nginx:1.27-alpine AS runtime
FROM nginx:1.27-alpine AS final
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html