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.
 
 
 
 
 
 

16 lines
350 B

# 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 ["/go/bin/weed"]