From 315a3d21aae9a178bcd12e9ee8bdb8bd801cea84 Mon Sep 17 00:00:00 2001 From: Kevin Heis Date: Tue, 24 Jan 2023 11:03:42 -0800 Subject: [PATCH] Enabled docker build/run on ARM mac (#34154) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0b90316e98..afb1a39858 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ RUN npm ci --no-optional --registry https://registry.npmjs.org/ # For Next.js v12+ # This the appropriate necessary extra for node:VERSION-alpine # Other options are https://www.npmjs.com/search?q=%40next%2Fswc -RUN npm i @next/swc-linux-x64-musl --no-save +RUN npm i @next/swc-linux-x64-musl --no-save || npm i @next/swc-linux-arm64-musl --no-save # ---------------