feat: ship self-hosted KOC LOOP workflows

This commit is contained in:
巫凤萍
2026-08-11 23:07:26 +08:00
parent 1f1887c860
commit ddad4b7659
88 changed files with 6056 additions and 8938 deletions

11
deploy/nginx/Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:22.18.0-bookworm-slim AS portal-builder
WORKDIR /portal
ENV NEXT_TELEMETRY_DISABLED=1
COPY koc-portal/package.json koc-portal/package-lock.json ./
RUN npm ci
COPY koc-portal/ ./
RUN npm run build
FROM nginx:1.27-alpine
COPY deploy/nginx/koc-loop.conf /etc/nginx/conf.d/default.conf
COPY --from=portal-builder /portal/out /usr/share/nginx/html/koc