Better handling of 3 images

This commit is contained in:
2021-04-09 21:50:09 +01:00
parent 80cabdd365
commit 7b4c6cf3fa
2 changed files with 6 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ WORKDIR /app/
ADD go.mod go.sum ./
RUN go mod download
ADD . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o tweetsvg main.go
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o tweetsvg .
FROM scratch
WORKDIR /app/