Initial commit

This commit is contained in:
2022-01-10 13:02:45 +01:00
commit 01296bd2e6
7 changed files with 95 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:latest AS builder
WORKDIR /src
COPY go.mod .
RUN go mod download
COPY . .
RUN go build -o peckertest main.go
FROM alpine:latest
COPY --from=builder /src/peckertest /bin/peckertest
CMD ["/bin/peckertest"]