Browse Source

reddit fix for docker

Drn 2 years ago
parent
commit
0327fb676a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -6,7 +6,7 @@ COPY . /go/src/github.com/github.com/get-got/discord-downloader-go
 WORKDIR /go/src/github.com/github.com/get-got/discord-downloader-go
 
 RUN go mod download
-RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -o app .
+RUN CGO_ENABLED=0 GODEBUG=http2client=0 GOOS=linux GOARCH=amd64 go build -a -o app .
 
 FROM scratch
 WORKDIR /root/