Files
stack/proxy/Dockerfile
kert 6b02b9560e feat(proxy): containerized Claude Code client on isolated bridge
Adds proxy/ — a docker compose that routes Claude Code through
proxy.fhirworx.io from any host, parallel to the WSL/systemd bootstrap
in dev/scripts/setup-proxy-client.sh.

cf-proxy (cloudflared access tcp) and claude run on an inline
192.168.10.0/24 bridge. cf-proxy is pinned to .2 and claude reaches it
by hostname via extra_hosts so the TLS SNI to proxy.fhirworx.io
resolves correctly without sharing /etc/hosts with cloudflared.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 08:15:47 -04:00

14 lines
485 B
Docker

# Containerized Claude Code client — proxied via cf-proxy (sibling service).
# Mirrors what dev/scripts/setup-proxy-client.sh does on a WSL host, minus the
# systemd/hosts hackery (compose handles networking + extra_hosts).
FROM node:20-bookworm-slim
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates curl git jq openssh-client \
&& rm -rf /var/lib/apt/lists/*
RUN npm install -g @anthropic-ai/claude-code
ENTRYPOINT ["claude"]