From 77e729cd4f86f7bda3b8272d5c2e02393fa08ca8 Mon Sep 17 00:00:00 2001 From: ChihYu Yeh Date: Wed, 18 Dec 2024 22:28:48 +0800 Subject: [PATCH] change alpine to bookworm-slim --- wren-ui/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/wren-ui/Dockerfile b/wren-ui/Dockerfile index acbb33f2c..d386ee35d 100644 --- a/wren-ui/Dockerfile +++ b/wren-ui/Dockerfile @@ -1,9 +1,7 @@ -FROM node:18-alpine AS base +FROM node:18-bookworm-slim AS base # Install dependencies only when needed FROM base AS deps -# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. -RUN apk add --no-cache libc6-compat python3 make g++ bash curl WORKDIR /app # Install dependencies based on the preferred package manager