You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
193 B

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