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:
parent
5063d95477
commit
d2151c8ee1
1 changed files with 5 additions and 3 deletions
|
|
@ -1,8 +1,10 @@
|
||||||
FROM node:20-alpine AS builder
|
FROM node:20-alpine AS builder
|
||||||
|
|
||||||
# Install OpenSSL, Git, and Bun for Prisma, GitHub dependencies, and tinypdf-plus
|
# Install OpenSSL, Git, and Bash
|
||||||
RUN apk add --no-cache openssl git curl && \
|
RUN apk add --no-cache openssl git bash curl
|
||||||
curl -fsSL https://bun.sh/install | sh && \
|
|
||||||
|
# Install Bun for tinypdf-plus build
|
||||||
|
RUN curl -fsSL https://bun.sh/install | bash && \
|
||||||
/root/.bun/bin/bun --version
|
/root/.bun/bin/bun --version
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue