github.com/docker/compose-on-kubernetes@v0.5.0/samples/web/Dockerfile (about)

     1  # BUILD
     2  FROM golang:1.9.1-alpine3.6 as builder
     3  
     4  COPY dispatcher.go .
     5  RUN go build dispatcher.go
     6  
     7  # RUN
     8  FROM alpine:edge
     9  
    10  EXPOSE 80
    11  CMD ["/dispatcher"]
    12  
    13  COPY --from=builder /go/dispatcher /
    14  COPY static /static/