12 lines
198 B
Bash
12 lines
198 B
Bash
#!/bin/sh
|
|
|
|
cat > /app/config.js << EOF
|
|
window.__RUNTIME_CONFIG__ = {
|
|
API_URL: "${API_URL:-http://localhost:8000}"
|
|
};
|
|
EOF
|
|
|
|
echo "✅ Config generiert: API_URL=${API_URL}"
|
|
|
|
exec serve -s /app -l 80
|