README: indicate to use build --no-cache --pull by default

master
pictuga 2020-10-03 22:18:51 +02:00
parent 18ec10fe44
commit 447f62dc45
1 changed files with 2 additions and 8 deletions

View File

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