Files
rana-for-docker/entrypoint.sh
T
2025-12-17 00:36:09 +09:00

16 lines
290 B
Bash

#!/bin/sh
# Create config.json
cat <<EOF > /app/config.json
{
"host": "${UWUZU_HOST}",
"api_token": "${UWUZU_TOKEN}",
"random_ueuse": "${TWEET_ENABLED}",
"check_interval": "${CHECK_INTERVAL}",
"rana_core_log": "${THINK_OUTPUT_ENABLED}"
}
EOF
# Run
exec npm start