add Dockerfile
This commit is contained in:
parent
fa78a084e7
commit
6afb0a8f59
13
Dockerfile
Normal file
13
Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
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"]
|
Loading…
Reference in New Issue
Block a user