Skip to content

Commit b8bce79

Browse files
committed
Add direct-from-GitHub Docker build to README
1 parent f82fb44 commit b8bce79

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,15 +417,17 @@ Changing the `PC2NUTS_EXTRA_SOURCES` list invalidates the SQLite cache automatic
417417

418418
## Docker deployment
419419

420-
### Build
420+
### Quick start (no clone needed)
421421

422422
```bash
423-
docker build -t postalcode2nuts .
423+
docker build -t postalcode2nuts https://github.com/bk86a/PostalCode2NUTS.git
424+
docker run -p 8000:8000 -v postalcode2nuts-data:/app/data postalcode2nuts
424425
```
425426

426-
### Basic run
427+
### Build from local clone
427428

428429
```bash
430+
docker build -t postalcode2nuts .
429431
docker run -p 8000:8000 postalcode2nuts
430432
```
431433

0 commit comments

Comments
 (0)