sd / DOCKER.md
pigracing's picture
Upload 18 files
c588df5 verified
|
Raw History Blame Contribute Delete
758 Bytes

Docker usage

Build:

docker build -t deepseek-2api .

Run on default port 7860:

docker run -d --name deepseek-2api -p 7860:7860 \
  -e DS_TOKEN=your_token \
  -e API_KEY=your_api_key \
  deepseek-2api

Environment variables:

  • DS_TOKEN: DeepSeek token. Takes precedence.
  • DS_EMAIL / DS_PASSWORD: DeepSeek email/password fallback.
  • PORT: service port. Defaults to 7860.
  • API_KEY: optional service API key. Leave empty to disable auth.
  • USE_WASM_POW: optional. Set to false to skip WASM PoW and use BigInt directly.

If you have sha3_wasm_bg.wasm, place it in the project root before building. The Docker image will copy it. If it is absent, the service automatically falls back to the BigInt implementation.