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 <noreply@anthropic.com>
This commit is contained in:
fullsizemalt 2026-01-08 12:25:17 -08:00
parent 5063d95477
commit d2151c8ee1

View file

@ -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