SillyTavern/docker/docker-entrypoint.sh

10 lines
221 B
Bash
Raw Normal View History

2023-07-20 19:32:15 +02:00
#!/bin/sh
2023-11-25 22:45:33 +01:00
if [ ! -e "config/config.yaml" ]; then
echo "Resource not found, copying from defaults: config.yaml"
cp -r "default/config.yaml" "config/config.yaml"
2023-07-23 15:52:25 +02:00
fi
2023-07-20 19:32:15 +02:00
# Start the server
exec node server.js --listen