seaweedfs/Dockerfile

16 lines
350 B
Docker
Raw Normal View History

2014-10-09 01:13:23 +00:00
# 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
2014-07-21 05:13:33 +00:00
EXPOSE 8080
EXPOSE 9333
VOLUME /data
2014-10-09 01:13:23 +00:00
ENTRYPOINT ["/go/bin/weed"]