add go get

This commit is contained in:
Moritz 2019-01-31 16:51:36 +01:00
parent b2480324c3
commit 8ed735698b

View file

@ -2,5 +2,6 @@ FROM golang:latest
RUN mkdir -p /app RUN mkdir -p /app
WORKDIR /app WORKDIR /app
ADD . /app ADD . /app
RUN go get -u
RUN go build ./main.go RUN go build ./main.go
CMD ["./main"] CMD ["./main"]