Create Dockerfile
Browse files123456789101112131415FROM golang:1.23-alpine AS builder
WORKDIR /appRUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .RUN make installRUN make build-linux
FROM alpine:3.19.0WORKDIR /appCOPY --from=builder /app/bin/linux/server ./serverRUN chmod +x server
ENV ARG "--port 8080"CMD ["./server ${ARG}"]ENTRYPOINT ["sh", "-c"]DockerfileAdded+15