1
0
mirror of https://github.com/SillyTavern/SillyTavern.git synced 2024-12-15 10:48:36 +01:00
SillyTavern/docker/docker-entrypoint.sh
2024-04-13 19:27:52 +03:00

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