From 41a63900c286140303c9863f7060ed42e21049f3 Mon Sep 17 00:00:00 2001 From: pictuga Date: Sun, 19 Apr 2020 13:01:08 +0200 Subject: [PATCH] README: improve docker instructions --- README.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e776bb3..96ef2b6 100644 --- a/README.md +++ b/README.md @@ -150,20 +150,19 @@ gunicorn morss:cgi_standalone_app #### Using docker -Build +Build & run ```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 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 Morss can run its own HTTP server. The later should start when you run morss