修改dockerfile
This commit is contained in:
parent
2913ecec13
commit
ed94788770
@ -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" ]
|
Loading…
Reference in New Issue
Block a user