feat: package Beijing test deployment with HTTPS and preflight checks

This commit is contained in:
wlx committed 2026-09-10 18:10:31 +08:00
1 parent ae749a1fe9
commit c7278c00a6
33 files changed
+1153 -54

No files matched your search

+2
View File
@@ -3,3 +3,5 @@
node_modules
dist
*.log
.env*
!.env.example
+5
View File
@@ -0,0 +1,5 @@
ARG NGINX_RUNTIME_IMAGE=nginx:1.27-alpine
FROM ${NGINX_RUNTIME_IMAGE}
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY dist /usr/share/nginx/html
EXPOSE 80 443
@@ -0,0 +1,4 @@
**
!dist/
!dist/**
!nginx.conf
+6
View File
@@ -0,0 +1,6 @@
import { build } from 'vite'
// Build only against the same-origin Java API. Ignore developer dotenv files.
process.env.VITE_CONTROL_PLANE_URL = '/'
process.env.VITE_AUTH_MODE = 'remote'
await build({ envDir: false })