SillyTavern/docker/docker-entrypoint.sh

15 lines
309 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-11-25 22:45:33 +01:00
CONFIG_FILE="config.yaml"
2023-11-25 23:41:28 +01:00
echo "Starting with the following config:"
cat $CONFIG_FILE
2023-07-20 19:32:15 +02:00
# Start the server
exec node server.js --listen