Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
espenhgn committed Jun 10, 2021
1 parent b38146f commit 14a9ab7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -253,6 +253,7 @@ or
$ docker run -it -p 5000:5000 lfpy:latest

or

# build local Dockerfile (obtained by cloning repo, checkout branch etc.)
$ docker build -t lfpy - < Dockerfile
$ docker run -it -p 5000:5000 lfpy:latest
Expand All @@ -262,6 +263,7 @@ The ``--mount`` option can be used to mount a folder on the host to a target fol

$ docker run --mount type=bind,source="$(pwd)",target=/opt -it -p 5000:5000 <image-name>


which mounts the present working dirctory (``$(pwd)``) to the ``/opt`` directory of the container.
Try mounting the ``LFPy`` source directory for example (by setting ``source="<path-to-LFPy>"``).
Various LFPy example files can then be found in the folder ``/opt/LFPy/examples/``
Expand Down

0 comments on commit 14a9ab7

Please sign in to comment.