tavern / SillyTavern-1.13.0 /docker /docker-entrypoint.sh
liucy98's picture
Upload 910 files
d44b3c1 verified
raw
history blame contribute delete
318 Bytes
#!/bin/sh
if [ ! -e "config/config.yaml" ]; then
echo "Resource not found, copying from defaults: config.yaml"
cp -r "default/config.yaml" "config/config.yaml"
fi
# Execute postinstall to auto-populate config.yaml with missing values
npm run postinstall
# Start the server
exec node server.js --listen "$@"