summaryrefslogtreecommitdiff
path: root/docker/README.md
diff options
context:
space:
mode:
authordvn <git@dvn.me>2018-08-02 14:33:18 +0200
committerdvn <git@dvn.me>2018-08-02 14:33:18 +0200
commitd837b84241ed01cf42e95c95948224cdbf285e18 (patch)
tree94878bbae183f0298216a4d46f123fe4a2e65802 /docker/README.md
parentdfe12347d2c359f77d2ca732bf7aa7cb0239922e (diff)
docker: move Dockerfile to root of repo
This is because of a limitation of Docker, which requires that you run the Dockerfile from the directory in which you will copy in data. Moving it to the root of the repo allows us to COPY in the code instead of doing a 'git pull' from the container.
Diffstat (limited to 'docker/README.md')
-rw-r--r--docker/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docker/README.md b/docker/README.md
index 4e0e6b951..ce05012fc 100644
--- a/docker/README.md
+++ b/docker/README.md
@@ -7,6 +7,14 @@ A Dockerfile (and maybe later docker-compose.yml) for getting a running GNUnet d
## Build it
This will take quite a while and will consume a bit of data.
+First you need to go to the root of this repo.
+
+```bash
+cd ..
+```
+
+Now you can build the image.
+
```bash
docker build -t gnunet .
```