create filerdb folder

This commit is contained in:
Chris Lu 2018-12-27 15:30:41 -08:00
parent 13715fb851
commit 4b444d58ee
2 changed files with 1 additions and 1 deletions

View file

@ -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"]

View file

@ -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
;;