mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-05-03 21:17:49 +08:00
Merge branch 'master' of git@github.com:chrislusf/weed-fs.git
This commit is contained in:
commit
af106fe961
16
Dockerfile
16
Dockerfile
@ -1,16 +1,6 @@
|
|||||||
# install docker
|
FROM cydev/go
|
||||||
# sudo docker build -t seaweed .
|
RUN go get code.google.com/p/weed-fs/go/weed
|
||||||
# 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 8080
|
||||||
EXPOSE 9333
|
EXPOSE 9333
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
ENTRYPOINT ["/go/bin/weed"]
|
ENTRYPOINT ["weed"]
|
||||||
|
Loading…
Reference in New Issue
Block a user