File size: 262 Bytes
bb23c43
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
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 &"]