Closed crosspacific closed 8 months ago
试试这样:
docker run -d --name tg_bing_dalle -e tg_token='${tg_token}' -e bing_cookie='"a" "b"' --network host tg_bing_dalle
@Pagliacii 谢谢。 现在的问题是这玩意太长了,是不我们引导用户 export 好一些?
我写个 entrypoint.sh 吧,如果有 .token 和 .cookies,就读文件内容;如果没有就使用环境变量
而且现在的 Dockerfile 有问题,只 copy 了 tg.py 单个文件
而且现在的 Dockerfile 有问题,只 copy 了 tg.py 单个文件
@BeautyyuYanli 我也发现了,我们忘改这个了, fly.io 也是
使用docker安装,命令如下:
docker run -d --name tg_bing_dalle -e tg_token='${tg_token}' -e bing_cookie='${bing_cookie}' -e bing_cookie='${bing_cookie}' --network host tg_bing_dalle
出现一下错误: