New Dockerfile and Travis Config

This commit is contained in:
Richard Patel
2019-02-22 00:16:53 +01:00
parent b18b70f798
commit f845e12a29
2 changed files with 30 additions and 0 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM golang:1.11.5 AS builder
ADD . /src
RUN cd /src
&& go build -o binary
FROM alpine
WORKDIR /app
COPY --from=builder /src/binary /app/
ENTRYPOINT ./binary