babaohuang / GeminiProChat

Minimal web UI for GeminiPro.
https://geminiprochat.com
MIT License
4.29k stars 12.36k forks source link

docker-compose.yml 直接下载后部署报错 build修改成image: 'babaohuang/geminiprochat:latest' 搞定 #40

Closed brucelau1987cn closed 10 months ago

brucelau1987cn commented 10 months ago

How is Gemini Pro Chat deployed?

Node

Describe the bug

[+] Building 0.1s (2/2) FINISHED docker:default => [geminiprochat internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 2B 0.0s => [geminiprochat internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3775294946/Dockerfile: no such file or directory

Console Logs

No response

Participation

antergone commented 10 months ago

经过实际测试,最新版本没有问题,你给出的命令是拉取其他开发者发布的远端的镜像。 可以尝试以下命令:

# 清理缓存
docker builder prune
# 启动服务
docker-compose up
brucelau1987cn commented 10 months ago

version: '3'

services: geminiprochat: image: 'babaohuang/geminiprochat:latest' container_name: geminiprochat restart: always ports:

改成这样 完美解决