SillyTavern/docker/docker-entrypoint.sh

10 lines
221 B
Bash

#!/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
# Start the server
exec node server.js --listen