From ed9478877049f6c98d96df0af3cd61ec862dd155 Mon Sep 17 00:00:00 2001 From: walker Date: Mon, 7 Aug 2023 16:49:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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