rts-sim-testing-service/Dockerfile

9 lines
373 B
Docker
Raw Normal View History

2023-08-07 16:41:16 +08:00
FROM golang:1.20.7 as builder
WORKDIR /go/src/joylink.club/bj-rtsts-server
2023-08-07 17:05:28 +08:00
COPY . ./
2023-08-07 16:51:20 +08:00
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server
2023-07-26 11:24:11 +08:00
2023-08-07 16:41:16 +08:00
FROM scratch
COPY --from=builder /go/src/joylink.club/bj-rtsts-server/bj-rtsts-server /go/src/joylink.club/bj-rtsts-server/config.yml ./
2023-08-07 18:27:54 +08:00
WORKDIR /bj-rtsts
2023-07-26 11:24:11 +08:00
CMD [ "bj-rtsts-server" ]