1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-25 09:50:10 +00:00
grpcox/Dockerfile

14 lines
254 B
Docker
Raw Normal View History

2019-03-25 03:47:41 +00:00
FROM golang:1.10-alpine AS builder
WORKDIR /go/src/github.com/gusaul/grpcox
COPY . ./
RUN go build -o grpcox grpcox.go
FROM alpine
COPY ./index /index
COPY --from=builder /go/src/github.com/gusaul/grpcox/grpcox ./
EXPOSE 6969
ENTRYPOINT ["./grpcox"]