diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 0300c56..0000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -# ── Stage 1: 編譯 ───────────────────────────────────────────── -FROM golang:1.25-alpine AS builder - -WORKDIR /build - -COPY go.mod go.sum ./ -RUN go mod download - -COPY . . -RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o cursor-api-proxy . - -# ── Stage 2: 執行環境 ────────────────────────────────────────── -FROM alpine:3.21 - -RUN apk add --no-cache ca-certificates tzdata - -WORKDIR /app - -COPY --from=builder /build/cursor-api-proxy . - -EXPOSE 8766 - -ENTRYPOINT ["./cursor-api-proxy"] diff --git a/detect-gemini-dom b/detect-gemini-dom deleted file mode 100755 index 4043ca1..0000000 Binary files a/detect-gemini-dom and /dev/null differ diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index a7355fc..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,27 +0,0 @@ -services: - cursor-api-proxy: - build: - context: . - dockerfile: Dockerfile - image: cursor-api-proxy:latest - container_name: cursor-api-proxy - restart: unless-stopped - env_file: - - .env - ports: - - "${CURSOR_BRIDGE_PORT:-8766}:${CURSOR_BRIDGE_PORT:-8766}" - environment: - - CURSOR_BRIDGE_HOST=0.0.0.0 - volumes: - # Cursor CLI 二進位檔(從宿主機掛載,唯讀) - - ${CURSOR_AGENT_HOST_BIN:-/usr/local/bin/agent}:/usr/local/bin/agent:ro - # 帳號設定目錄(持久化帳號資料) - - ${CURSOR_ACCOUNTS_DIR:-~/.cursor-api-proxy}:/root/.cursor-api-proxy - # 工作區(選用,掛載你想讓 agent 存取的專案目錄) - - ${WORKSPACE_DIR:-/tmp/workspace}:/workspace - healthcheck: - test: ["CMD", "wget", "-qO-", "http://localhost:${CURSOR_BRIDGE_PORT:-8766}/health"] - interval: 30s - timeout: 5s - retries: 3 - start_period: 10s diff --git a/gemini-login b/gemini-login deleted file mode 100755 index 9dd08a6..0000000 Binary files a/gemini-login and /dev/null differ