fix: change to node image and install bun to fix node-gyp and rc execution errors

This commit is contained in:
Khoa Vo 2026-04-27 18:59:08 +07:00
parent 8ffe8db3c8
commit 118210f4e4

View file

@ -1,8 +1,11 @@
# Node Debian -- multi-arch (amd64 + arm64)
FROM oven/bun:1.3.11 AS builder
FROM node:22-bookworm-slim AS builder
WORKDIR /app
# Install bun
RUN npm install -g bun@1.3.11
# Accept build arguments for environment variables
ARG AUTH_ENABLED
ARG AUTH_SECRET