diff --git a/Dockerfile b/Dockerfile index 4772aa2..b64957b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM golang:1.20.7 as builder WORKDIR /go/src/joylink.club/bj-rtsts-server -COPY ./* . +COPY ./* ./ RUN go build -o bj-rtsts-server FROM scratch -COPY --from=builder bj-rtsts-server . WORKDIR /bj-rtsts +COPY --from=builder bj-rtsts-server . CMD [ "bj-rtsts-server" ] \ No newline at end of file