gifs/api

Paddy 2014-10-17

7:21787ed8a185 Go to Latest

gifs/api/Dockerfile

Create a Dockerfile and binary. Write a Dockerfile that compiles everything and runs it. Start the binary; load a Context from etcd, and start everything running. The binary is pretty useless until we get HTTP handlers, though, obviously.

History
1 FROM google/golang
3 ADD . /gopath/src/code.secondbit.org/gifs/api
4 WORKDIR /gopath/src/code.secondbit.org/gifs/api
5 RUN go get -v ./...
6 WORKDIR /gopath/src/code.secondbit.org/gifs/api/gifsd
7 RUN go build .
9 CMD ["/gopath/src/code.secondbit.org/gifs/api/gifsd/gifsd"]