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