We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7df861 commit 60d7dcbCopy full SHA for 60d7dcb
.gitignore
@@ -9,3 +9,4 @@ src/code.google.com/
9
*.key
10
*.crt
11
.env
12
+*.pem
Dockefile
@@ -0,0 +1,17 @@
1
+FROM golang:1.5.2
2
+
3
+RUN go get github.com/tools/godep
4
5
+ADD . /go/src/github.com/darkhelmet/ForrestFire
6
+WORKDIR /go/src/github.com/darkhelmet/ForrestFire
7
+RUN rm -rf Godeps/_workspace/bin Godeps/_workspace/pkg
8
+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
13
14
+ENV PORT 80
15
+EXPOSE 80
16
17
+CMD /go/src/github.com/darkhelmet/ForrestFire/bin/ForrestFire
0 commit comments