mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-03-03 18:47:40 +08:00
use COPY instead of ADD
This commit is contained in:
parent
5cd27f4684
commit
0711dd746c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ ENV GOPROXY=https://goproxy.io \
|
|||
CGO_ENABLED=0 \
|
||||
GOOS=linux
|
||||
|
||||
ADD . /go/src/app/
|
||||
COPY . /go/src/app/
|
||||
|
||||
RUN go build -a -installsuffix cgo -ldflags="-w -s -X github.com/bakito/adguardhome-sync/version.Version=${VERSION} -X github.com/bakito/adguardhome-sync/version.Build=${BUILD}" -o adguardhome-sync . \
|
||||
&& upx -q adguardhome-sync
|
||||
|
|
Loading…
Reference in a new issue