cross compile node

This commit is contained in:
Jun Siang Cheah 2024-04-10 13:29:10 +01:00
parent 550fc63ebd
commit eddaa7fa89

View file

@ -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