Skip to content

Commit

Permalink
Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
darkhelmet committed Jan 13, 2016
1 parent f7df861 commit 60d7dcb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ src/code.google.com/
*.key
*.crt
.env
*.pem
17 changes: 17 additions & 0 deletions Dockefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM golang:1.5.2

RUN go get github.com/tools/godep

ADD . /go/src/github.com/darkhelmet/ForrestFire
WORKDIR /go/src/github.com/darkhelmet/ForrestFire
RUN rm -rf Godeps/_workspace/bin Godeps/_workspace/pkg

RUN godep go install ./...

ENV PATH /go/src/github.com/darkhelmet/ForrestFire/Godeps/_workspace/bin:$PATH
ENV GOPATH /go/src/github.com/darkhelmet/ForrestFire/Godeps/_workspace:$GOPATH

ENV PORT 80
EXPOSE 80

CMD /go/src/github.com/darkhelmet/ForrestFire/bin/ForrestFire

0 comments on commit 60d7dcb

Please sign in to comment.