From 99ccf46698c767a0f1fbee2f278461299eb4fa83 Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Mon, 10 Nov 2025 13:22:01 +0330 Subject: [PATCH] Updated --- frontend/dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/dockerfile b/frontend/dockerfile index 0dc0cbd..08b3e15 100644 --- a/frontend/dockerfile +++ b/frontend/dockerfile @@ -5,6 +5,10 @@ WORKDIR /app COPY package.json bun.lockb* ./ RUN bun install --frozen-lockfile + +# --- ✅ Rebuild sharp for correct Linux architecture --- +RUN bun x npm rebuild sharp --platform=linux --arch=x64 --target=$(node -v | sed 's/v//') + COPY . . RUN bun run build