feat: add java control plane container baseline

This commit is contained in:
wlx committed 2026-08-31 14:48:02 +08:00
1 parent 2897354dd8
commit 1615401185
18 files changed
+566

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
FROM node:22-alpine AS build
WORKDIR /app
RUN corepack enable
COPY package.json pnpm-lock.yaml ./
RUN pnpm install --frozen-lockfile
COPY . .
ARG VITE_CONTROL_PLANE_URL=/
ARG VITE_AUTH_MODE=remote
ENV VITE_CONTROL_PLANE_URL=$VITE_CONTROL_PLANE_URL
ENV VITE_AUTH_MODE=$VITE_AUTH_MODE
RUN pnpm build
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80