Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| aac0fe81b9 |
@@ -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 && \
|
||||
|
||||
Reference in New Issue
Block a user