From 4b444d58eeefce0ff2c04ca06eb3133a7497b1b3 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Thu, 27 Dec 2018 15:30:41 -0800 Subject: [PATCH] create filerdb folder --- docker/Dockerfile | 1 - docker/entrypoint.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index e7cddd72a..6b6a9d47a 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -25,6 +25,5 @@ VOLUME /data COPY filer.toml /etc/seaweedfs/filer.toml COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -RUN mkdir -p /data/filerdb ENTRYPOINT ["/entrypoint.sh"] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 660e51766..105087dbe 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -33,6 +33,7 @@ case "$1" in if [ -n "$MASTER_PORT_9333_TCP_ADDR" ] ; then ARGS="$ARGS -master=$MASTER_PORT_9333_TCP_ADDR:$MASTER_PORT_9333_TCP_PORT" fi + mkdir -p /data/filerdb exec /usr/bin/weed $@ $ARGS ;;