Update Dockerfile
Browse files1 unmodified line23456789101 unmodified lineWORKDIR /appRUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .RUN go mod tidy && ls -al /go/pkg/modRUN sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n if ind == -1 {\n return path }\n println(path + ", " + importPath)/g' \/go/pkg/mod/github.com/bincooo/go-annotation@v0.0.0-20241129022159-ea84d341fcda/internal/module/interface.goRUN make installRUN make build-linux1 unmodified line23456789101 unmodified lineWORKDIR /appRUN apk add git make && git clone https://github.com/bincooo/chatgpt-adapter.git -b v3.0.0-beta .#RUN go mod tidy \# && sed -i 's/ind := strings.Index(path, importPath)/ind := strings.Index(path, importPath)\n if ind == -1 {\n return path }\n println(path + ", " + importPath)/g' \# /go/pkg/mod/github.com/bincooo/go-annotation@v0.0.0-20241129022159-ea84d341fcda/internal/module/interface.goRUN make installRUN make build-linux
Dockerfile+3-3