mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-01-18 14:41:31 +08:00
tweaking the docker file
This commit is contained in:
parent
a09240391f
commit
88e7c98e6e
16
Dockerfile
16
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"]
|
Loading…
Reference in New Issue
Block a user