Commit 6afb0a8f authored by zhengrui's avatar zhengrui

add Dockerfile

parent fa78a084
FROM golang:alpine as builder
ADD . /go/src/github.com/ginuerzh/gost/
RUN go install github.com/ginuerzh/gost/cmd/gost
FROM alpine:latest
WORKDIR /bin/
COPY --from=builder /go/bin/gost .
ENTRYPOINT ["/bin/gost"]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment