From 5707be250750adac0e8a47e71d0cccf5eaf21de2 Mon Sep 17 00:00:00 2001 From: Hector Ros Date: Tue, 20 Jan 2026 01:27:45 +0100 Subject: [PATCH] Switch to Bun runtime for Claude Code Claude Code is optimized for Bun, use Bun instead of Node.js Co-Authored-By: Claude Sonnet 4.5 (1M context) --- Dockerfile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2570da1..caf0713 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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