New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] #2367
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
感觉是你的网络问题吧 |
I think it's your network problem. |
This issue is closed, If you have any questions, you can comment and reply. |
Dockerfile里 |
Dockerfile |
💻 系统环境
Other Linux
📦 部署环境
Docker
🌐 浏览器
Chrome
🐛 问题描述
构建最新版本(0.153.1)镜像失败
docker build -t lobe-chat:0.153.1
[+] Building 8.6s (10/22) docker:default
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.08kB 0.0s
=> [internal] load metadata for docker.io/library/node:20-slim 3.2s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 142B 0.0s
=> [base 1/1] FROM docker.io/library/node:20-slim@sha256:72f2f046a5f8468db28730b990b37de63ce93fd1a72a40f531d6aa82afdf0d46 0.0s
=> [internal] load build context 0.1s
=> => transferring context: 4.58MB 0.1s
=> CACHED [sharp 1/3] RUN corepack enable 0.0s
=> CACHED [sharp 2/3] WORKDIR /app 0.0s
=> CACHED [builder 3/7] COPY package.json ./ 0.0s
=> [builder 4/7] RUN npm config set registry https://registry.npmmirror.com/ 1.0s
=> ERROR [builder 5/7] RUN pnpm i 4.2s
Dockerfile:25
23 | # If you want to build docker in China
24 | RUN npm config set registry https://registry.npmmirror.com/
25 | >>> RUN pnpm i
26 |
27 | COPY . .
ERROR: failed to solve: process "/bin/sh -c pnpm i" did not complete successfully: exit code: 1
🚦 期望结果
能编译成功
📷 复现步骤
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: