Slightly modified default docker files

This commit is contained in:
Przemek Dragańczuk 2020-02-16 16:10:04 +01:00
parent 89eb5526ce
commit dc171b9973
2 changed files with 3 additions and 2 deletions

View File

@ -63,11 +63,11 @@ java -jar build/libs/url.jar
### `docker run` method
1. Build the image
```
docker build . -t url:1.0
docker build . -t url:latest
```
2. Run the image
```
docker run -p 4567:4567 -d url:1.0
docker run -p 4567:4567 -d url:latest
```
2.a Make the CSV file available to host
```

View File

@ -4,6 +4,7 @@ services:
# TODO: Publish to docker hub
build:
context: .
container_name: url
ports:
- 4567:4567
environment: