mirror of
https://github.com/gusaul/grpcox.git
synced 2024-12-26 02:40:10 +00:00
14 lines
254 B
Docker
14 lines
254 B
Docker
|
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"]
|