separate container for docs
@@ -90,13 +90,21 @@ services:
pip3 install --upgrade /root/remme && \
python3 -m remme.rest_api
"
+ remme-docs:
+ image: remme/remme-core-dev:latest
+ volumes:
+ - .:/root/remme
+ ports:
+ - '8000:8000'
+ entrypoint: |
+ bash -c "
+ sphinx-autobuild -H 0.0.0.0 -p 8000 remme/docs build
+ "
shell:
image: remme/remme-core-dev:latest
depends_on:
- rest-api
- ports:
- - '8000:8000'
volumes:
- ./remme/genesis:/root/genesis
- ./keys:/root/.sawtooth/keys
@@ -110,6 +118,5 @@ services:
sawtooth keygen
fi;
pip3 install --upgrade /root/remme && \
- sphinx-autobuild -H 0.0.0.0 -p 8000 remme/docs build && \
tail -f /dev/null
"
