adding changes

This commit is contained in:
afeiszli 2021-07-28 16:42:43 -04:00
parent 9635590322
commit 6108936b0b
3 changed files with 2 additions and 10 deletions

View file

@ -8,13 +8,13 @@ WORKDIR /app
ENV GO111MODULE=auto
RUN CGO_ENABLED=0 GOOS=linux go build -o app main.go
RUN GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app main.go
WORKDIR /app/netclient
ENV GO111MODULE=auto
RUN CGO_ENABLED=0 GOOS=linux go build -o netclient main.go
RUN GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o netclient main.go
#second stage

View file

@ -1,8 +0,0 @@
example.com {
reload 15s
hosts /root/dnsconfig/netmaker.hosts {
fallthrough
}
forward . 8.8.8.8 8.8.4.4
log
}