Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ======================== [ Create GoLang Builder ]
- FROM golang:1.12 AS builder
- COPY . /go/src/gitlab.com/bneil/allips/
- WORKDIR /go/src/gitlab.com/bneil/allips/
- RUN set -x && \
- go get github.com/golang/dep/cmd/dep
- RUN make release
- # ======================== [ Create Final ]
- FROM gcr.io/distroless/base
- COPY templates/ /templates/
- COPY static/ /static/
- COPY --from=builder /go/src/gitlab.com/bneil/allips/allips-linux-amd64 /docker-capacity-linux-amd64
- EXPOSE 3000
- ENTRYPOINT ["/allips"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement