You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
350 B

11 years ago
  1. # install docker
  2. # sudo docker build -t seaweed .
  3. # docker run seaweed
  4. FROM golang
  5. # Copy the local package files to the container's workspace.
  6. ADD . /go/src/github.com/chrislusf/weed-fs
  7. # Build the weed command inside the container.
  8. RUN go get github.com/chrislusf/weed-fs/go/weed
  9. EXPOSE 8080
  10. EXPOSE 9333
  11. VOLUME /data
  12. ENTRYPOINT ["/go/bin/weed"]