README: indicate to use build --no-cache --pull by default
parent
18ec10fe44
commit
447f62dc45
10
README.md
10
README.md
|
@ -73,7 +73,7 @@ You may also need:
|
||||||
Build & run
|
Build & run
|
||||||
|
|
||||||
```shell
|
```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
|
docker run -p 8080:8080 morss
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -91,16 +91,10 @@ services:
|
||||||
Then execute
|
Then execute
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker-compose build
|
docker-compose build --no-cache --pull
|
||||||
docker-compose up
|
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
|
## Run
|
||||||
|
|
||||||
morss will auto-detect what "mode" to use.
|
morss will auto-detect what "mode" to use.
|
||||||
|
|
Loading…
Reference in New Issue