1
0
Fork 0

Remove default timeout, bump Alpine version

upload-progress
Ambrose Chua 2021-10-25 17:44:09 +08:00
parent d846f846ec
commit 51b8df2eb2
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM node:16-alpine3.13 as build-web
FROM node:16-alpine3.14 as build-web
WORKDIR /src
COPY . .
@ -7,7 +7,7 @@ RUN cd web && npm install
ARG NODE_ENV=production
RUN cd web && npm run build
FROM golang:1.16-alpine3.13 as build
FROM golang:1.16-alpine3.14 as build
RUN apk add \
make

4
s3.go
View File

@ -20,9 +20,7 @@ import (
var httpClientS3 *http.Client
func setupS3() {
httpClientS3 = &http.Client{
Timeout: 10 * time.Second,
}
httpClientS3 = &http.Client{}
}
/* signing */