Revert "fix(auth): move nginx config to k8s"

This reverts commit afe6c40901.
This commit is contained in:
mac
2026-07-15 13:27:04 +08:00
parent 39a676830c
commit 8203beb8cd
14 changed files with 971 additions and 190 deletions
+16
View File
@@ -0,0 +1,16 @@
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