mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
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:
parent
dfb9f5a496
commit
1bcf84262c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user