Merge commit 'bfd2363635e56421df843d25e76cb6c3c3fab7b6'

This commit is contained in:
Alexa Amundson
2025-11-21 13:56:38 -06:00
3 changed files with 24 additions and 0 deletions

4
.gitignore vendored
View File

@@ -14,3 +14,7 @@ pnpm-lock.yaml
.tmp .tmp
.vscode .vscode
.idea .idea
static/health.json
static/health/
static/version.json
static/version/

View File

@@ -11,6 +11,11 @@
}, },
"engines": { "engines": {
"node": ">=20" "node": ">=20"
"dev": "docusaurus start",
"build": "npm run generate:meta && docusaurus build",
"start": "node scripts/serve.js",
"serve": "npm run start",
"generate:meta": "node scripts/generateMeta.js"
}, },
"dependencies": { "dependencies": {
"next": "14.2.4", "next": "14.2.4",

15
scripts/serve.js Normal file
View File

@@ -0,0 +1,15 @@
#!/usr/bin/env node
const { spawn } = require('child_process');
const port = process.env.PORT || '3000';
const args = ['serve', '--dir', 'build', '--host', '0.0.0.0', '--port', port];
const child = spawn('docusaurus', args, {
stdio: 'inherit',
shell: true
});
child.on('exit', (code) => {
process.exit(code);
});