Update Dockerfile
Browse files123454 unmodified lines101112131415FROM golang:1.23-alpine AS builderWORKDIR /appRUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .RUN make4 unmodified linesADD config.yaml .RUN chmod +x serverENV ARG "--port 7860"CMD ["./server ${ARG}"]ENTRYPOINT ["sh", "-c"]1234564 unmodified lines111213141516171819FROM 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 make4 unmodified linesADD config.yaml .RUN chmod +x server# 下载过盾文件RUN curl -o https://github.com/bincooo/chatgpt-adapter/tree/hel/bin.zipENV ARG "--port 7860"CMD ["./server ${ARG}"]ENTRYPOINT ["sh", "-c"]
Dockerfile+4