This commit is contained in:
marzban-dev
2025-11-10 13:22:01 +03:30
parent 3f71d1eaef
commit 99ccf46698
+4
View File
@@ -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