add directory /data/filerdb

fix https://github.com/chrislusf/seaweedfs/issues/885
This commit is contained in:
Chris Lu 2019-03-14 23:48:53 -07:00
parent 95ef4513c8
commit 023f447d56
2 changed files with 2 additions and 0 deletions

View file

@ -25,6 +25,7 @@ EXPOSE 8333
VOLUME /data
COPY filer.toml /etc/seaweedfs/filer.toml
RUN mkdir /data/filerdb
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

View file

@ -20,6 +20,7 @@ VOLUME /data
RUN mkdir -p /etc/seaweedfs
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 chmod +x /entrypoint.sh
RUN cp /go/bin/weed /usr/bin/