Skip to content

Commit 508adde

Browse files
committed
Switch Docker base from Alpine to Slim for arm64 onnxruntime compatibility
Alpine uses musl libc but onnxruntime-node on arm64 requires glibc (ld-linux-aarch64.so.1). node:24-slim (Debian) includes glibc natively.
1 parent f24e02d commit 508adde

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:24-alpine AS build
1+
FROM node:24-slim AS build
22

33
WORKDIR /app
44

@@ -19,7 +19,7 @@ COPY ui/ ./ui/
1919
RUN npm run build
2020

2121
# --- Runtime ---
22-
FROM node:24-alpine
22+
FROM node:24-slim
2323

2424
WORKDIR /app
2525

0 commit comments

Comments
 (0)