1
0
mirror of https://github.com/docker/docs.git synced 2026-11-14 04:50:52 +03:00

Merge pull request #35 from jfrazelle/fix-dockerfile

cleanup dockerfile
This commit is contained in:
Derek McGowan
2015-07-09 17:47:00 -07:00

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" ]