From ebfce98e562b614fd3910c39ffeb23abd9174f9a Mon Sep 17 00:00:00 2001 From: mike dupont Date: Tue, 14 Jan 2025 09:49:40 -0500 Subject: [PATCH] fixing the docker to build amd --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cea49ec578..0c84a8df9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ # Use a specific Node.js version for better reproducibility #FROM node:23.3.0-slim AS builder # note this architecture is listed twice in this file! -FROM node:23-bookworm-slim AS builder +#FROM node:23-bookworm-slim AS builder +FROM arm64v8/node:23-bookworm-slim AS builder FROM h4ckermike/fastembed-js:pr-1 AS fastembed #docker pull RUN apt-get update @@ -33,7 +34,8 @@ RUN pnpm install \ # Create a new stage for the final image #FROM node:23.3.0-slim -FROM node:23-bookworm-slim +#FROM node:23-bookworm-slim +FROM arm64v8/node:23-bookworm-slim # Install runtime dependencies if needed RUN apt-get update