diff --git a/apps/image-service/Dockerfile b/apps/image-service/Dockerfile index e8f7acc..333e087 100644 --- a/apps/image-service/Dockerfile +++ b/apps/image-service/Dockerfile @@ -9,6 +9,8 @@ COPY . . # Note: Canvas needs build tools on Debian RUN apt-get update && apt-get install -y python3 make g++ libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev # Delete the prebuilt binary and force a clean rebuild from source for the correct container architecture +ENV npm_config_arch=arm64 +ENV npm_config_target_arch=arm64 RUN pnpm install --frozen-lockfile RUN for dir in $(find /app/node_modules -type d -path "*/@tensorflow/tfjs-node"); do \ cd $dir && \