This commit is contained in:
Jake Keeys
2020-01-26 12:35:46 +00:00
commit f5de88e5bb
9 changed files with 764 additions and 0 deletions

10
Dockerfile Normal file
View File

@@ -0,0 +1,10 @@
FROM golang:alpine as build
WORKDIR /build
COPY . .
RUN go get -d -v .
RUN go build -v -o app .
FROM alpine
WORKDIR /service
COPY --from=build /build/app .
ENTRYPOINT ["./app"]