Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM golang:1.10-alpine
- COPY . /go/src/pathtocode
- WORKDIR /go/src/pathtocode/
- RUN go build main.go
- FROM alpine:3.7
- RUN apk add --no-cache ca-certificates
- COPY --from=0 /go/src/pathtocode/main .
- CMD ["./main"]
- # vim ft=Dockerfile
Add Comment
Please, Sign In to add comment