10 lines
214 B
Docker
10 lines
214 B
Docker
FROM golang:1.20.7 as builder
|
|
WORKDIR /go/src/joylink.club/bj-rtsts-server
|
|
COPY ./* .
|
|
RUN go build -o bj-rtsts-server
|
|
|
|
|
|
FROM scratch
|
|
COPY --from=builder bj-rtsts-server .
|
|
WORKDIR /bj-rtsts
|
|
CMD [ "bj-rtsts-server" ] |