From 1bcf84262c793c15ef1d31c4af062faa61d05d45 Mon Sep 17 00:00:00 2001 From: Krish Date: Wed, 22 Feb 2017 18:48:31 +0100 Subject: [PATCH] Adding a VOLUME statement in Dockerfile (#1212) - MacOS does not allow users to mount folders from the host unless it is specified during build time. - This is needed as the container on Mac needs to access the .bigchaindb conf file residing on the host. --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index ed0ca462..bcfa8609 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,6 +26,8 @@ WORKDIR /usr/src/app RUN pip3 install --no-cache-dir -e . +VOLUME ["/data"] + WORKDIR /data ENV BIGCHAINDB_CONFIG_PATH /data/.bigchaindb