README: improve docker instructions
parent
ec8edb02f1
commit
41a63900c2
|
@ -150,20 +150,19 @@ gunicorn morss:cgi_standalone_app
|
||||||
|
|
||||||
#### Using docker
|
#### Using docker
|
||||||
|
|
||||||
Build
|
Build & run
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker build https://git.pictuga.com/pictuga/morss.git
|
docker build https://git.pictuga.com/pictuga/morss.git -t morss
|
||||||
|
docker run -p 8080:8080 morss
|
||||||
```
|
```
|
||||||
|
|
||||||
Run & Build in one go
|
In one line
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git)
|
docker run -p 8080:8080 $(docker build -q https://git.pictuga.com/pictuga/morss.git)
|
||||||
```
|
```
|
||||||
|
|
||||||
It will run on port 8080 by default
|
|
||||||
|
|
||||||
#### Using morss' internal HTTP server
|
#### Using morss' internal HTTP server
|
||||||
|
|
||||||
Morss can run its own HTTP server. The later should start when you run morss
|
Morss can run its own HTTP server. The later should start when you run morss
|
||||||
|
|
Loading…
Reference in New Issue