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 # Install system dependencies
RUN apk add --no-cache \ RUN apk add --no-cache \
@@ -8,13 +8,11 @@ RUN apk add --no-cache \
openssh-client \ openssh-client \
ca-certificates ca-certificates
# Install Claude Code CLI # Install Claude Code CLI with Bun
RUN npm install -g @anthropic-ai/claude-code RUN bun install -g @anthropic-ai/claude-code
# Install common development tools # Install common development tools with Bun
RUN npm install -g \ RUN bun install -g typescript
typescript \
ts-node
# Create workspace directory # Create workspace directory
WORKDIR /workspace WORKDIR /workspace