修改Dockerfile复制文件问题
This commit is contained in:
parent
b6126736dd
commit
8271af8ab9
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user