feat: package Beijing test deployment with HTTPS and preflight checks
This commit is contained in:
1 parent
ae749a1fe9
commit
c7278c00a6
33 files changed
+1153
-54
No files matched your search
@@ -3,3 +3,5 @@
|
||||
node_modules
|
||||
dist
|
||||
*.log
|
||||
.env*
|
||||
!.env.example
|
||||
@@ -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
|
||||
@@ -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 })
|
||||
Reference in new issue
Block a user