From 6b28cb6eedbaa1859a160df1373e6c54bd7d38bf Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Sun, 1 Mar 2026 01:46:07 +0800 Subject: [PATCH] pref: build frontend only in amd64 for Dockfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b6b5f89..f195914 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # ============================================================ # Stage 1: Build frontend # ============================================================ -FROM node:22-alpine AS frontend-builder +FROM --platform=linux/amd64 node:22-alpine AS frontend-builder WORKDIR /app/frontend COPY frontend/package.json frontend/package-lock.json ./