Initial commit
This commit is contained in:
11
ui/docker-entrypoint.sh
Normal file
11
ui/docker-entrypoint.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user