fix: update Dockerfile bun version and remove --ignore-scripts
Upgrade bun 1.3.1 to 1.3.6 and remove --ignore-scripts flag to fix prerender error during Docker build (null useContext dispatcher). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# ==============================
|
||||
# Stage 1: Builder (Bun)
|
||||
# ==============================
|
||||
FROM oven/bun:1.3.1-debian AS builder
|
||||
FROM oven/bun:1.3.6-debian AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -19,7 +19,7 @@ ENV ONNXRUNTIME_NODE_INSTALL_CUDA=0
|
||||
ENV SHARP_IGNORE_GLOBAL_LIBVIPS=1
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
RUN bun install --ignore-scripts
|
||||
RUN bun install
|
||||
|
||||
COPY . .
|
||||
|
||||
@@ -45,7 +45,7 @@ RUN bun run build
|
||||
# ==============================
|
||||
# Stage 2: Runner (Bun)
|
||||
# ==============================
|
||||
FROM oven/bun:1.3.1-debian AS runner
|
||||
FROM oven/bun:1.3.6-debian AS runner
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Reference in New Issue
Block a user