Compare commits

..
1 Commits
Author SHA1 Message Date
AverageMarcus cea1ae23ac Initial commit 2021-08-08 16:17:54 +01:00
+1 -1
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 .