Update installation.md

This commit is contained in:
Marcel Pociot
2021-06-11 16:23:08 +02:00
committed by GitHub
parent 1fdcc50d4a
commit afebe13f00

View File

@@ -13,6 +13,31 @@ composer global require beyondcode/expose
After that, you are ready to go and can [share your first site](/docs/expose/getting-started/sharing-your-first-site). After that, you are ready to go and can [share your first site](/docs/expose/getting-started/sharing-your-first-site).
## As a docker container
Expose has a `Dockerfile` already in the source root.
You can build and use it without requiring any extra effort.
```bash
docker build -t expose .
```
Usage:
```bash
docker run expose <expose command>
```
Examples:
```bash
docker run expose share http://192.168.2.100 # share a local site
docker run expose serve my-domain.com # start a server
```
Now you're ready to go and can [share your first site](/docs/expose/getting-started/sharing-your-first-site).
### Extending Expose ### Extending Expose
By default, Expose comes as an executable PHAR file. This allows you to use all Expose features out of the box without any additional setup required. By default, Expose comes as an executable PHAR file. This allows you to use all Expose features out of the box without any additional setup required.