From 023f447d56fd17a5ebdd3550d926fd1e35fe8248 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 14 Mar 2019 23:48:53 -0700 Subject: [PATCH] add directory /data/filerdb fix https://github.com/chrislusf/seaweedfs/issues/885 --- docker/Dockerfile | 1 + docker/Dockerfile.go_build | 1 + 2 files changed, 2 insertions(+) diff --git a/docker/Dockerfile b/docker/Dockerfile index c7a343111..b78f1677a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index d0a214476..3581d2fa3 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -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/