修改Dockerfile添加测试层

This commit is contained in:
walker 2023-08-07 16:59:38 +08:00
parent c057091e1c
commit b6126736dd

View File

@ -1,6 +1,7 @@
FROM golang:1.20.7 as builder
WORKDIR /go/src/joylink.club/bj-rtsts-server
COPY ./* ./
RUN pwd && ls -l
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server