From 447f62dc45308888126fca37ce433f5cd5d57c7c Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 3 Oct 2020 22:18:51 +0200 Subject: [PATCH] README: indicate to use build --no-cache --pull by default --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a0197a9..63839b2 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ You may also need: Build & run ```shell -docker build --tag morss https://git.pictuga.com/pictuga/morss.git +docker build --tag morss https://git.pictuga.com/pictuga/morss.git --no-cache --pull docker run -p 8080:8080 morss ``` @@ -91,16 +91,10 @@ services: Then execute ```shell -docker-compose build +docker-compose build --no-cache --pull docker-compose up ``` -To update: - -- To get the latest code from the git repository, add `--no-cache` to the build -commands -- To update the base image (`alpine:latest`), add `--pull` to the build commands - ## Run morss will auto-detect what "mode" to use.