This commit is contained in:
Ashley Perpetual 2016-03-03 17:40:54 +08:00
commit 9316f75eae
2 changed files with 7 additions and 1 deletions

View file

@ -15,6 +15,7 @@ RUN pip install msgpack-python --upgrade
#Add Zeronet source
ADD . /root
VOLUME /root/data
#Slimming down Docker containers
RUN apt-get clean -y
@ -25,4 +26,4 @@ CMD cd /root && python zeronet.py --ui_ip 0.0.0.0
#Expose ports
EXPOSE 43110
EXPOSE 15441
EXPOSE 15441

View file

@ -112,8 +112,13 @@ It downloads the latest version of ZeroNet then starts it automatically.
* Run `python zeronet.py --ui_ip 0.0.0.0`
* Open http://127.0.0.1:43110/ in your browser
<<<<<<< HEAD
### [Docker](https://www.docker.com/)
* `docker run -p 15441:15441 -p 43110:43110 nofish/zeronet`
=======
### Docker
* `docker run -d -v <local_data_folder>:/root/data -p 15441:15441 -p 43110:43110 nofish/zeronet`
>>>>>>> upstream/master
* Open http://127.0.0.1:43110/ in your browser
### [Virtualenv](https://virtualenv.readthedocs.org/en/latest/)