FROM golang:1.21-alpine AS builder WORKDIR /app RUN apk add git && git clone https://github.com/xyy002/claudetoapi.git . RUN GOOS=linux GOARCH=amd64 go build -o getkeyinfo RUN chmod +x /app/claudetoapi CMD ["sh", "-c", "nohup ./claudetoapi >> run.log 2>&1 &"]