Use `docker build --pull` instead of `docker image pull`
This commit is contained in:
parent
2b11057082
commit
7af96e6051
|
@ -99,13 +99,11 @@ The easiest way to get PairDrop up and running is by using Docker.
|
||||||
|
|
||||||
### Build the image
|
### Build the image
|
||||||
```bash
|
```bash
|
||||||
docker image pull node:lts-alpine
|
docker build --pull . -f Dockerfile -t pairdrop
|
||||||
```
|
```
|
||||||
> Prevents Docker from using an old `node:lts-alpine` image by pulling the latest
|
> A GitHub action is set up to do this step automatically.
|
||||||
```bash
|
>
|
||||||
docker build . -f Dockerfile -t pairdrop
|
> `--pull` ensures always the latest node image is used.
|
||||||
```
|
|
||||||
> A GitHub action is set up to do this step automatically
|
|
||||||
|
|
||||||
### Run the image
|
### Run the image
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue