mirror of
https://github.com/clearlinux/docs.git
synced 2026-09-07 22:51:29 +00:00
Fix single-line example to include -w option
This commit is contained in:
+1
-1
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user