修改dockerfile问题

This commit is contained in:
walker 2023-08-18 10:33:59 +08:00
parent 897c5b9085
commit 05886cfb86

View File

@ -6,5 +6,5 @@ RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && g
FROM scratch
COPY --from=builder /go/src/joylink.club/bj-rtsts-server/bj-rtsts-server /usr/local/bin/bj-rtsts-server
WORKDIR /bj-rtsts
COPY --from=builder /go/src/joylink.club/bj-rtsts-server/config/*.yml .
COPY --from=builder /go/src/joylink.club/bj-rtsts-server/config/*.yml ./
CMD [ "bj-rtsts-server" ]