Switch to Bun runtime for Claude Code
All checks were successful
Build and Push Agent / build (push) Successful in 29s

Claude Code is optimized for Bun, use Bun instead of Node.js

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Ros
2026-01-20 01:27:45 +01:00
parent 1db98be556
commit 5707be2507

View File

@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM oven/bun:1.3.6-alpine
# Install system dependencies
RUN apk add --no-cache \
@@ -8,13 +8,11 @@ RUN apk add --no-cache \
openssh-client \
ca-certificates
# Install Claude Code CLI
RUN npm install -g @anthropic-ai/claude-code
# Install Claude Code CLI with Bun
RUN bun install -g @anthropic-ai/claude-code
# Install common development tools
RUN npm install -g \
typescript \
ts-node
# Install common development tools with Bun
RUN bun install -g typescript
# Create workspace directory
WORKDIR /workspace