Compare commits

...

No commits in common. "618a6771644bfec0a51971eccaddaf14a0ae3d45" and "cea1ae23ac0e27dc35a497f437b33053012a1a10" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM golang:1.16-alpine AS builder
RUN apk update && apk add --no-cache git && apk add -U --no-cache ca-certificates
WORKDIR /app/
ADD go.mod go.sum ./
ADD go.mod ./
RUN go mod download
ADD . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -ldflags="-w -s" -o echoserver .