From d2151c8ee1017f0cd4cbc8425655203b2cb37cdc Mon Sep 17 00:00:00 2001 From: fullsizemalt <106900403+fullsizemalt@users.noreply.github.com> Date: Thu, 8 Jan 2026 12:25:17 -0800 Subject: [PATCH] Fix bun installation in Dockerfile The bun.sh install script requires bash. Install bash explicitly and use it for the bun install script. Co-Authored-By: Claude --- backend/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 80f8dc8..b3517f2 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -1,8 +1,10 @@ FROM node:20-alpine AS builder -# Install OpenSSL, Git, and Bun for Prisma, GitHub dependencies, and tinypdf-plus -RUN apk add --no-cache openssl git curl && \ - curl -fsSL https://bun.sh/install | sh && \ +# Install OpenSSL, Git, and Bash +RUN apk add --no-cache openssl git bash curl + +# Install Bun for tinypdf-plus build +RUN curl -fsSL https://bun.sh/install | bash && \ /root/.bun/bin/bun --version WORKDIR /app