mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-12-23 04:07:55 +00:00
Slightly modified default docker files
This commit is contained in:
parent
89eb5526ce
commit
dc171b9973
@ -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
|
||||
```
|
||||
|
@ -4,6 +4,7 @@ services:
|
||||
# TODO: Publish to docker hub
|
||||
build:
|
||||
context: .
|
||||
container_name: url
|
||||
ports:
|
||||
- 4567:4567
|
||||
environment:
|
||||
|
Loading…
Reference in New Issue
Block a user