FROM golang:1.19 COPY ../verifyCode /src WORKDIR /src RUN GOPROXY=https://goproxy.cn,direct go install github.com/go-kratos/kratos/cmd/kratos/v2@latest RUN GOPROXY=https://goproxy.cn,direct go mod tidy EXPOSE 8000 EXPOSE 9000 VOLUME /data/conf CMD ["kratos", "run"]