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