Improve docker build instructions (#155)

This commit is contained in:
David De Sloovere 2019-02-09 14:08:00 +01:00 committed by Otto Winter
parent e5c431d7ca
commit 0a7479f9c2
1 changed files with 4 additions and 0 deletions

View File

@ -187,10 +187,14 @@ Build
The easiest way is to use the `esphomedocs docker image <https://hub.docker.com/r/ottowinter/esphomedocs/>`__:
On Linux
.. code-block:: bash
docker run --rm -v "$PWD/..":/data -p 8000:8000 -it ottowinter/esphomedocs
On Windows (PowerShell)
.. code-block:: powershell
docker run --rm -v ${PWD}/..:/data -p 8000:8000 -it ottowinter/esphomedocs