From 58168b1a9c455126bafc5fbbea568ab9d60754bc Mon Sep 17 00:00:00 2001 From: Rishi Ghan Date: Tue, 25 Feb 2025 14:31:45 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=BB=20Switched=20back=20to=20x86=5F64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index caa6b97..4e819c0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM node:21-alpine3.18 +# Use a non-ARM image (x86_64) for Node.js +FROM --platform=linux/amd64 node:21-alpine3.18 # Set metadata for contact LABEL maintainer="Rishi Ghan " @@ -57,7 +58,7 @@ COPY tsconfig.json ./ RUN npm install # Install sharp with proper platform configuration -RUN npm install --force --sharp --platform=linux/arm64 +RUN npm install --force sharp --platform=linux/amd64 # Install global dependencies RUN npm install -g typescript ts-node