We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bf489f commit 60fdbb5Copy full SHA for 60fdbb5
apps/api/Dockerfile
@@ -17,6 +17,18 @@ RUN turbo prune @midday/api --docker
17
FROM base AS installer
18
WORKDIR /app
19
20
+# Install build dependencies for native modules (canvas, etc.)
21
+RUN apt-get update && apt-get install -y \
22
+ python3 \
23
+ python3-pip \
24
+ build-essential \
25
+ libcairo2-dev \
26
+ libpango1.0-dev \
27
+ libjpeg-dev \
28
+ libgif-dev \
29
+ librsvg2-dev \
30
+ && rm -rf /var/lib/apt/lists/*
31
+
32
# First install the dependencies (as they change less often)
33
COPY --from=builder /app/out/json/ .
34
# Don't copy the lockfile, allow Bun to generate a fresh one
0 commit comments