Merge remote-tracking branch 'origin/master'

This commit is contained in:
thesai 2024-02-23 09:22:34 +08:00
commit 01b734ff9c

View File

@ -3,7 +3,7 @@ WORKDIR /go/src/joylink.club/bj-rtsts-server
COPY . ./ COPY . ./
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server
FROM scratch FROM alpine
COPY --from=builder /go/src/joylink.club/bj-rtsts-server/bj-rtsts-server /usr/local/bin/bj-rtsts-server COPY --from=builder /go/src/joylink.club/bj-rtsts-server/bj-rtsts-server /usr/local/bin/bj-rtsts-server
WORKDIR /bj-rtsts 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 ./