fix: change base image to debian oven/bun to fix sharp node-gyp build

This commit is contained in:
Khoa Vo 2026-04-27 18:57:26 +07:00
parent 7e505832ed
commit 8ffe8db3c8

View file

@ -1,11 +1,8 @@
# Node Alpine -- multi-arch (amd64 + arm64)
FROM oven/bun:1.3.11-alpine AS builder
# Node Debian -- multi-arch (amd64 + arm64)
FROM oven/bun:1.3.11 AS builder
WORKDIR /app
# Install system dependencies required for Bun
RUN apk add --no-cache wget curl bash python3 make g++
# Accept build arguments for environment variables
ARG AUTH_ENABLED
ARG AUTH_SECRET