FROM docker.io/cloudflare/sandbox:0.12.1

# Install the Codex CLI globally
RUN npm install -g @openai/codex

# Expose the WebSocket port used by codex app-server
EXPOSE 4500
