修改dockerfile问题
This commit is contained in:
parent
897c5b9085
commit
05886cfb86
@ -6,5 +6,5 @@ RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && g
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
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 ./
|
||||||
CMD [ "bj-rtsts-server" ]
|
CMD [ "bj-rtsts-server" ]
|
Loading…
Reference in New Issue
Block a user