mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-15 04:48:10 -07:00
add dockerfile and glide config
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
FROM golang:alpine
|
||||
MAINTAINER Jimmy Zelinskie <jimmyzelinskie@gmail.com>
|
||||
|
||||
RUN apk update && apk add curl git
|
||||
RUN curl https://glide.sh/get | sh
|
||||
|
||||
WORKDIR /go/src/github.com/chihaya/chihaya
|
||||
ADD . /go/src/github.com/chihaya/chihaya
|
||||
RUN glide install
|
||||
RUN go install github.com/chihaya/chihaya/cmd/chihaya
|
||||
|
||||
EXPOSE 6880 6881
|
||||
ENTRYPOINT ["chihaya"]
|
||||
Reference in New Issue
Block a user