We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
这是我的Dockerfile
# 使用官方的node镜像作为基础镜像 FROM node:alpine as builder # 设置工作目录 WORKDIR /app # 将package.json和package-lock.json复制到工作目录 COPY package.json ./ COPY .npmrc ./ # 安装依赖 RUN npm install -g pnpm RUN pnpm --version RUN pnpm install # 将项目的所有文件复制到工作目录 COPY . . # 构建项目 RUN npm run build # 使用官方的nginx镜像作为基础镜像 FROM nginx:stable-alpine # 从第一个阶段中复制构建好的项目到nginx的html目录 COPY --from=builder /app/build /usr/share/nginx/html # 暴露80端口 EXPOSE 80 # 启动nginx CMD ["nginx", "-g", "daemon off;"]
这是报错:
The text was updated successfully, but these errors were encountered:
linux-arm64 的确不支持,我们看下
Sorry, something went wrong.
大概什么时候支持呢,最近需要上线了
本周四发布版本支持,预计明天发布 beta 版本提供验证
@ClarkXia 这个问题还在,有什么别的方法吗,比较着急,这几天需要部署上线了
今天处理下,下周一发布版本测试,如果 docker 环境可以选择的话 先选择 linux-x64
ClarkXia
No branches or pull requests
这是我的Dockerfile
这是报错:
The text was updated successfully, but these errors were encountered: