去掉arm结构docker

This commit is contained in:
shuaiplus committed 2025-05-27 23:43:40 +08:00
1 parent cdf2f0da64
commit 091300fb77
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
+2 -2
View File
@@ -1,6 +1,6 @@
# Use a Node.js 18 Alpine base image for the backend builder
# 使用 Node.js 18 Alpine 基础镜像作为后端构建器
FROM docker.1ms.run/node:18-alpine AS backend-builder
FROM node:18-alpine AS backend-builder
WORKDIR /app
@@ -17,7 +17,7 @@ COPY server/server.js ./server/
# Frontend build stage
# 前端构建阶段
FROM docker.1ms.run/node:18-alpine AS frontend-builder
FROM node:18-alpine AS frontend-builder
WORKDIR /app