metadata
title: Server
emoji: 🚀
colorFrom: blue
colorTo: indigo
sdk: docker
Server
The Docker image downloads the JavaScript file specified by SCRIPT_URL and
runs it with Node. Set SCRIPT_URL and TOKEN as runtime environment
variables:
docker build -t server .
docker run --rm -e SCRIPT_URL=your-script-url -e TOKEN=your-token server
For Hugging Face Spaces, add SCRIPT_URL and TOKEN under
Settings / Repository secrets. Neither value is stored in the repository
or baked into the image.