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/