修改Dockerfile复制文件问题

This commit is contained in:
walker 2023-08-07 17:05:28 +08:00
parent b6126736dd
commit 8271af8ab9

View File

@ -1,6 +1,6 @@
FROM golang:1.20.7 as builder FROM golang:1.20.7 as builder
WORKDIR /go/src/joylink.club/bj-rtsts-server WORKDIR /go/src/joylink.club/bj-rtsts-server
COPY ./* ./ COPY . ./
RUN pwd && ls -l RUN pwd && ls -l
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server