only main go

This commit is contained in:
Moritz 2019-01-31 16:53:41 +01:00
parent 8ed735698b
commit 5bb3e7781a

View file

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