README: improve docker instructions

master
pictuga 2020-04-19 13:01:08 +02:00
parent ec8edb02f1
commit 41a63900c2
1 changed files with 4 additions and 5 deletions

View File

@ -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