Skip to content

Commit

Permalink
Implement Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tobe committed Oct 16, 2014
1 parent 9825b11 commit 0d31a28
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM golang
MAINTAINER tobe [email protected]

# ENV GOPATH /go

RUN go get github.com/astaxie/beego
RUN go get github.com/beego/bee

# apt-get install -y git

# ADD . /go/src/github.com/tobegit3hub/
RUN git clone https://github.com/tobegit3hub/seagull.git /go/src/github.com/tobegit3hub/seagull/

WORKDIR /go/src/github.com/tobegit3hub/seagull/

RUN go build seagull.go

EXPOSE 10086

CMD ["./seagull"]



0 comments on commit 0d31a28

Please sign in to comment.