This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
OlderNewer