mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Execute postinstall in docker entrypoint
This commit is contained in:
@ -5,5 +5,8 @@ if [ ! -e "config/config.yaml" ]; then
|
|||||||
cp -r "default/config.yaml" "config/config.yaml"
|
cp -r "default/config.yaml" "config/config.yaml"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Execute postinstall to auto-populate config.yaml with missing values
|
||||||
|
npm run postinstall
|
||||||
|
|
||||||
# Start the server
|
# Start the server
|
||||||
exec node server.js --listen "$@"
|
exec node server.js --listen "$@"
|
||||||
|
Reference in New Issue
Block a user