Skip to content
This repository was archived by the owner on Jul 1, 2024. It is now read-only.

Commit 3a61d53

Browse files
committed
fix node-llama-cpp glibc installation inside image
1 parent b9b4d26 commit 3a61d53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/Dockerfile.addon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
ARG BUILD_FROM=oven/bun:1-debian
22
FROM ${BUILD_FROM} as base
3+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
4+
build-essential python3 llvm clang
35

46
FROM base as workspace
57
ENV NODE_ENV=production
@@ -8,8 +10,6 @@ COPY . .
810

911
FROM workspace as build
1012
COPY --from=node:lts-bullseye /usr/local/bin/node /usr/local/bin/node
11-
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
12-
build-essential python3 llvm clang
1313
RUN bun install --frozen-lockfile
1414

1515
FROM workspace

0 commit comments

Comments
 (0)