diff options
| author | Chris Lu <chris.lu@gmail.com> | 2014-10-08 18:13:23 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2014-10-08 18:13:23 -0700 |
| commit | 88e7c98e6eed145a4101e4a18e899e8afee21278 (patch) | |
| tree | fce49d7f79f73f6854cc22078de57088e8a78b96 | |
| parent | a09240391f59331b90ae65813a489d7bcb07a240 (diff) | |
| download | seaweedfs-88e7c98e6eed145a4101e4a18e899e8afee21278.tar.xz seaweedfs-88e7c98e6eed145a4101e4a18e899e8afee21278.zip | |
tweaking the docker file
| -rw-r--r-- | Dockerfile | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile index 1243727a2..7332f660a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,16 @@ -FROM cydev/go -RUN go get code.google.com/p/weed-fs/go/weed +# install docker +# sudo docker build -t seaweed . +# docker run seaweed + +FROM golang + +# Copy the local package files to the container's workspace. +ADD . /go/src/github.com/chrislusf/weed-fs + +# Build the weed command inside the container. +RUN go get github.com/chrislusf/weed-fs/go/weed + EXPOSE 8080 EXPOSE 9333 VOLUME /data -ENTRYPOINT ["weed"] +ENTRYPOINT ["/go/bin/weed"]
\ No newline at end of file |
