mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
weed server: mkdir first
This commit is contained in:
parent
a4e8aa98a0
commit
5cbe7392a3
|
@ -16,11 +16,12 @@ EXPOSE 9333
|
||||||
# s3 server http port
|
# s3 server http port
|
||||||
EXPOSE 8333
|
EXPOSE 8333
|
||||||
|
|
||||||
|
RUN mkdir -p /data/filerdb
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
RUN mkdir -p /etc/seaweedfs
|
RUN mkdir -p /etc/seaweedfs
|
||||||
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml
|
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/filer.toml /etc/seaweedfs/filer.toml
|
||||||
RUN mkdir -p /data/filerdb
|
|
||||||
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh
|
RUN cp /go/src/github.com/chrislusf/seaweedfs/docker/entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
RUN cp /go/bin/weed /usr/bin/
|
RUN cp /go/bin/weed /usr/bin/
|
||||||
|
|
Loading…
Reference in a new issue