Download Dockerfile from lxui/draw: direct link, hf CLI and curl.
- Browser
- Download file 871 Bytes
-
https://huggingface.co/spaces/lxui/draw/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/lxui/draw/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/lxui/draw/resolve/main/Dockerfile
871 Bytes
| FROM ghcr.io/dayuanjiang/next-ai-draw-io:latest | |
| ENV ACCESS_CODE_LIST=dsw | |
| ENV AI_PROVIDER google | |
| ENV GOOGLE_BASE_URL https://generativelanguage.googleapis.com/v1beta | |
| ENV AI_MODEL gemini-3-flash-preview | |
| ENV GOOGLE_GENERATIVE_AI_API_KEY AIzaSyBV-UZd_aUjHjRb4R_cNHBtAhGPjoYf4DU | |
| ENV GOOGLE_CANDIDATE_COUNT 1 # Optional: Number of candidates to generate | |
| ENV GOOGLE_TOP_K 40 # Optional: Top K sampling parameter | |
| ENV GOOGLE_TOP_P 0.95 # Optional: Nucleus sampling parameter | |
| # Note: Gemini 2.5/3 models automatically enable reasoning display (includeThoughts: true) | |
| ENV GOOGLE_THINKING_BUDGET 8192 # Optional: Gemini 2.5 thinking budget in tokens (for more/less thinking) | |
| ENV GOOGLE_THINKING_LEVEL high # Optional: Gemini 3 thinking level (low/high) | |
| ENV PORT 7860 | |
| EXPOSE 7860 | |