mirror of
https://github.com/Canner/WrenAI.git
synced 2026-09-01 15:34:04 +08:00
chore(wren-ui): revert base image (#1023)
This commit is contained in:
+4
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user