chore(image-processor): fix tfjs-node cross compile arch flags
This commit is contained in:
@@ -15,7 +15,7 @@ RUN pnpm install --frozen-lockfile
|
|||||||
RUN for dir in $(find /app/node_modules -type d -path "*/@tensorflow/tfjs-node"); do \
|
RUN for dir in $(find /app/node_modules -type d -path "*/@tensorflow/tfjs-node"); do \
|
||||||
cd $dir && \
|
cd $dir && \
|
||||||
rm -rf lib/napi-v8/* && \
|
rm -rf lib/napi-v8/* && \
|
||||||
npm run install -- build-addon-from-source; \
|
npm_config_build_from_source=true npm_config_arch=arm64 npm_config_target_arch=arm64 npm run install; \
|
||||||
done
|
done
|
||||||
# Generate models explicitly for Docker
|
# Generate models explicitly for Docker
|
||||||
RUN ls -la packages/image-processor/scripts || true
|
RUN ls -la packages/image-processor/scripts || true
|
||||||
|
|||||||
Reference in New Issue
Block a user