File size: 522 Bytes
08212d3 f816273 576fd4e 08212d3 f816273 08212d3 f816273 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ---
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:
```bash
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.
|