docker) install native build tools in bun stage
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 3m47s

This commit is contained in:
2026-02-20 22:48:18 -05:00
parent d464e71654
commit 82a242e362

View File

@@ -3,6 +3,11 @@ FROM oven/bun:1 AS builder
WORKDIR /app
# Native deps required for building better-sqlite3 via node-gyp
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 make g++ \
&& rm -rf /var/lib/apt/lists/*
# Copy dependency manifests first for better layer caching
COPY package.json bun.lock ./