From 905330840f8e58a13f2e754e4f859224304cd4b2 Mon Sep 17 00:00:00 2001 From: ChihYu Yeh Date: Thu, 19 Dec 2024 12:47:48 +0800 Subject: [PATCH 1/2] install curl --- wren-ui/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wren-ui/Dockerfile b/wren-ui/Dockerfile index d386ee35d..fe8c83419 100644 --- a/wren-ui/Dockerfile +++ b/wren-ui/Dockerfile @@ -1,6 +1,8 @@ FROM node:18-bookworm-slim AS base -# Install dependencies only when needed +# Install curl +RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* + FROM base AS deps WORKDIR /app From 8d8e2f2fda004a6b178b6c73f624ae5272b3f305 Mon Sep 17 00:00:00 2001 From: ChihYu Yeh Date: Thu, 19 Dec 2024 16:29:10 +0800 Subject: [PATCH 2/2] add missing packages --- wren-ui/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wren-ui/Dockerfile b/wren-ui/Dockerfile index fe8c83419..283beec3f 100644 --- a/wren-ui/Dockerfile +++ b/wren-ui/Dockerfile @@ -1,7 +1,7 @@ FROM node:18-bookworm-slim AS base # Install curl -RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get install -y curl python3 cmake g++ && rm -rf /var/lib/apt/lists/* FROM base AS deps WORKDIR /app