Skip to content

Commit 60fdbb5

Browse files
committed
wip
1 parent 1bf489f commit 60fdbb5

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

apps/api/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,18 @@ RUN turbo prune @midday/api --docker
1717
FROM base AS installer
1818
WORKDIR /app
1919

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+
2032
# First install the dependencies (as they change less often)
2133
COPY --from=builder /app/out/json/ .
2234
# Don't copy the lockfile, allow Bun to generate a fresh one

0 commit comments

Comments
 (0)