mirror of https://github.com/zulip/zulip.git
docs: Update Docker development instructions to include chown.
This adds a command to change ownership of /srv/zulip to the zulip user.
This commit is contained in:
parent
e3e52e7284
commit
a8521dc988
|
@ -395,7 +395,8 @@ docker build -t user/zulipdev .
|
||||||
Commit and tag the provisioned images. The below will install Zulip's dependencies:
|
Commit and tag the provisioned images. The below will install Zulip's dependencies:
|
||||||
```
|
```
|
||||||
docker run -itv $(pwd):/srv/zulip -p 9991:9991 user/zulipdev /bin/bash
|
docker run -itv $(pwd):/srv/zulip -p 9991:9991 user/zulipdev /bin/bash
|
||||||
# /bin/bash /srv/zulip/tools/provision --docker
|
$ /bin/bash sudo chmod -R zulip:zulip /srv/zulip
|
||||||
|
$ /bin/bash /srv/zulip/tools/provision --docker
|
||||||
docker ps -af ancestor=user/zulipdev
|
docker ps -af ancestor=user/zulipdev
|
||||||
docker commit -m "Zulip installed" <container id> user/zulipdev:v2
|
docker commit -m "Zulip installed" <container id> user/zulipdev:v2
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue