Spaces:
Runtime error
Runtime error
File size: 395 Bytes
0832091 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/bash
# Use envsubst to replace variables in the config file template
envsubst < app/openapi.yaml.template > app/openapi.yaml
envsubst < app/ai-plugin.json.template > app/ai-plugin.json
# Print substituted config for verification (optional)
echo "file openapi.yaml"
cat app/openapi.yaml
echo "file ai-plugin.json"
cat app/ai-plugin.json
# Execute the main application command
exec "$@"
|