diff --git a/Dockerfile b/Dockerfile index b806d54..956b955 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,6 @@ COPY . ./ RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server FROM scratch -WORKDIR /bj-rtsts COPY --from=builder /go/src/joylink.club/bj-rtsts-server/bj-rtsts-server /go/src/joylink.club/bj-rtsts-server/config.yml ./ +WORKDIR /bj-rtsts CMD [ "bj-rtsts-server" ] \ No newline at end of file