Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

tweaking the docker file

Chris Lu88e7c98e6eed
diff --git a/Dockerfile b/Dockerfile
index 1243727a2e..7332f660a9 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