chore(wren-ui): revert base image (#1023)

This commit is contained in:
Chih-Yu Yeh
2024-12-19 17:25:21 +08:00
committed by GitHub
parent 28b11251de
commit 9e9ca2953b
+4 -4
View File
@@ -1,9 +1,9 @@
FROM node:18-bookworm-slim AS base
# Install curl
RUN apt-get update && apt-get install -y curl python3 cmake g++ && rm -rf /var/lib/apt/lists/*
FROM node:18-alpine 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