Fix single-line example to include -w option

This commit is contained in:
Moghedrin
2014-12-31 17:24:37 -07:00
parent 81103834e4
commit 1fe0af25a2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ Of course, if you don't want to take advantage of magical and convenient
`ONBUILD` triggers, you can always just use `docker run` directly to avoid
having to add a `Dockerfile` to your project.
docker run --name some-django-app -v "$(pwd)":/usr/src/app -p 8080:8080 -d django bash -c "pip install -r requirements.txt && python manage.py runserver"
docker run --name some-django-app -v "$(pwd)":/usr/src/app -w /usr/src/app -p 8080:8080 -d django bash -c "pip install -r requirements.txt && python manage.py runserver"
# License
+1 -1
View File
@@ -37,4 +37,4 @@ Of course, if you don't want to take advantage of magical and convenient
`ONBUILD` triggers, you can always just use `docker run` directly to avoid
having to add a `Dockerfile` to your project.
docker run --name some-django-app -v "$(pwd)":/usr/src/app -p 8080:8080 -d django bash -c "pip install -r requirements.txt && python manage.py runserver"
docker run --name some-django-app -v "$(pwd)":/usr/src/app -w /usr/src/app -p 8080:8080 -d django bash -c "pip install -r requirements.txt && python manage.py runserver"