docker) install native build tools in bun stage
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 3m47s
Some checks failed
PR Checks / lint-test-and-docker-build (pull_request) Failing after 3m47s
This commit is contained in:
@@ -3,6 +3,11 @@ FROM oven/bun:1 AS builder
|
|||||||
|
|
||||||
WORKDIR /app
|
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 dependency manifests first for better layer caching
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user