mirror of
https://github.com/Finesssee/ProxyPilot.git
synced 2026-11-19 02:17:46 +00:00
Synced all changes from router-for-me/CLIProxyAPIPlus including: Executor updates: - claude_executor: response decompression, beta extraction, model resolution - gemini_executor/codex_executor: usage reporting - antigravity_executor: fallback URLs, thinking metadata, token refresh - kiro_executor: token refresh, profile ARN handling, quota fallback Translator updates: - Updated all translators for improved request/response handling - Enhanced tool result formatting and streaming support Configuration: - Added IncognitoBrowser option for OAuth - Updated KiroKey configuration - Enhanced PayloadConfig options SDK updates: - Auth refresh registry improvements - Cliproxy service enhancements - Added ErrNotImplemented for executor interface Excluded features (not synced): - Amp CLI Integration module - GitHub Copilot executor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
713 B
Docker
36 lines
713 B
Docker
FROM golang:1.24-alpine AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY go.mod go.sum ./
|
|
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
|
|
ARG VERSION=dev
|
|
ARG COMMIT=none
|
|
ARG BUILD_DATE=unknown
|
|
|
|
RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w -X 'main.Version=${VERSION}-plus' -X 'main.Commit=${COMMIT}' -X 'main.BuildDate=${BUILD_DATE}'" -o ./CLIProxyAPIPlus ./cmd/server/
|
|
|
|
FROM alpine:3.22.0
|
|
|
|
RUN apk add --no-cache tzdata
|
|
|
|
RUN mkdir /ProxyPilot
|
|
|
|
COPY --from=builder ./app/CLIProxyAPIPlus /CLIProxyAPI/CLIProxyAPIPlus
|
|
|
|
COPY config.example.yaml /ProxyPilot/config.example.yaml
|
|
|
|
WORKDIR /ProxyPilot
|
|
|
|
EXPOSE 8317
|
|
|
|
ENV TZ=Asia/Shanghai
|
|
|
|
RUN cp /usr/share/zoneinfo/${TZ} /etc/localtime && echo "${TZ}" > /etc/timezone
|
|
|
|
CMD ["./CLIProxyAPIPlus"]
|