Changed $PWD to work on windows and linux/mac. (#437)

This commit is contained in:
Travis Reeder
2017-01-02 12:24:17 -08:00
committed by GitHub
parent 538f43745b
commit 9f19611e97
4 changed files with 7 additions and 7 deletions

View File

@@ -3,7 +3,7 @@
Windows doesn't support Docker in Docker so you'll change the run command to the following:
```sh
docker run --rm --name functions -it -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/data:/app/data -p 8080:8080 iron/functions
docker run --rm --name functions -it -v /var/run/docker.sock:/var/run/docker.sock -v ${pwd}/data:/app/data -p 8080:8080 iron/functions
```
Then everything should work as normal.