From eddaa7fa89e05fe1b70045a39ea1c4dbd4b0b05b Mon Sep 17 00:00:00 2001 From: Jun Siang Cheah Date: Wed, 10 Apr 2024 13:29:10 +0100 Subject: [PATCH] cross compile node --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4a23d54fb..6b44afd3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ ARG USE_CUDA_VER=cu121 ARG USE_EMBEDDING_MODEL=all-MiniLM-L6-v2 ######## WebUI frontend ######## -FROM node:21-alpine3.19 as build +FROM --platform=$BUILDPLATFORM node:21-alpine3.19 as build WORKDIR /app