cleanup dockerfile

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-07-09 13:49:54 -07:00
parent ce0ed53fa2
commit 26c7443d9b
1 changed files with 3 additions and 3 deletions

View File

@ -2,12 +2,12 @@ FROM golang
COPY . /go/src/github.com/docker/notary
RUN chmod 777 /tmp/
ENV GOPATH /go/src/github.com/docker/notary/Godeps/_workspace:$GOPATH
RUN GOPATH="/go/src/github.com/docker/notary/Godeps/_workspace:/go/" go install github.com/docker/notary/cmd/notary-server
RUN go install github.com/docker/notary/cmd/notary-server
EXPOSE 4443
WORKDIR /go/src/github.com/docker/notary
CMD notary-server -config cmd/notary-server/dev-config.json
CMD [ "notary-server", "-config", "cmd/notary-server/dev-config.json" ]