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