Skip to content

Instantly share code, notes, and snippets.

View wv-jessejjohnson's full-sized avatar

Jesse Johnson wv-jessejjohnson

View GitHub Profile
@wv-jessejjohnson
wv-jessejjohnson / Dockerfile
Created October 6, 2025 19:11
chrome-proxy: Go microservice that launches Chrome headless and proxies WebSocket connections to its DevTools interface.
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -o chrome-proxy
FROM alpine:latest
RUN apk add --no-cache chromium
ENV CHROME_PATH=/usr/bin/chromium-browser
COPY --from=builder /app/chrome-proxy /chrome-proxy