fix(auth): move nginx config to k8s

This commit is contained in:
mac
2026-07-15 11:38:27 +08:00
parent 8338fabada
commit afe6c40901
14 changed files with 190 additions and 971 deletions
-16
View File
@@ -1,16 +0,0 @@
FROM node:14-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install --no-audit --no-fund
COPY . .
RUN npm run build
FROM nginx:1.29-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html/auth
EXPOSE 80