mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 17:26:45 +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
|
### `docker run` method
|
||||||
1. Build the image
|
1. Build the image
|
||||||
```
|
```
|
||||||
docker build . -t url:1.0
|
docker build . -t url:latest
|
||||||
```
|
```
|
||||||
2. Run the image
|
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
|
2.a Make the CSV file available to host
|
||||||
```
|
```
|
||||||
|
@ -4,6 +4,7 @@ services:
|
|||||||
# TODO: Publish to docker hub
|
# TODO: Publish to docker hub
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
|
container_name: url
|
||||||
ports:
|
ports:
|
||||||
- 4567:4567
|
- 4567:4567
|
||||||
environment:
|
environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user