Guest User

Untitled

a guest
May 21st, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. FROM golang:1.10-alpine
  2. COPY . /go/src/pathtocode
  3. WORKDIR /go/src/pathtocode/
  4. RUN go build main.go
  5.  
  6. FROM alpine:3.7
  7. RUN apk add --no-cache ca-certificates
  8. COPY --from=0 /go/src/pathtocode/main .
  9. CMD ["./main"]
  10.  
  11. # vim ft=Dockerfile
Add Comment
Please, Sign In to add comment