aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile16
1 files changed, 3 insertions, 13 deletions
diff --git a/Dockerfile b/Dockerfile
index 7332f660a..1243727a2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,16 +1,6 @@
-# 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
-
+FROM cydev/go
+RUN go get code.google.com/p/weed-fs/go/weed
EXPOSE 8080
EXPOSE 9333
VOLUME /data
-ENTRYPOINT ["/go/bin/weed"] \ No newline at end of file
+ENTRYPOINT ["weed"]