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.
This commit is contained in:
Krish 2017-02-22 18:48:31 +01:00 committed by GitHub
parent dfb9f5a496
commit 1bcf84262c

View File

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