Files
xiaolajiaoyyds 6f71df4849 Initial open-source release
多平台账号批量注册系统,支持 OpenAI / Grok / Kiro / Gemini 平台的全自动注册。

Features:
- 用户名/密码注册登录(首个用户自动管理员)
- JWT 认证 + bcrypt 密码加密
- 积分系统与多用户管理
- HuggingFace Space 弹性 Worker 节点管理
- Cloudflare Worker 负载均衡
- 实时日志推送(SSE/WebSocket)
- 管理后台(用户管理、系统设置、代理池、卡池)

Tech Stack: Go 1.25 / Gin / GORM / PostgreSQL / Vue 3 / Vite / TailwindCSS
2026-03-22 03:44:42 +08:00

19 lines
621 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM alpine:3.19
RUN apk add --no-cache curl ca-certificates unzip jq python3
RUN python3 -c "import json; json.dump({'framework':'onnxruntime','model':'distilbert-base-uncased','task':'text-classification','version':'1.0.3'},open('/tmp/model_config.json','w'))"
RUN mkdir -p /app/models /app/cache && \
echo '{"model_type":"transformer","hidden_size":768,"num_layers":6}' > /app/models/config.json
WORKDIR /app
COPY init.sh /app/
RUN chmod +x /app/init.sh
# HF Space 2c16:hfts 仅 2 线程,OpenAI 每任务 1 求解,匹配浏览器数
ENV MAX_CONCURRENT=2
ENV MAX_QUEUE=4
EXPOSE 7860
CMD ["/app/init.sh"]