mirror of
https://github.com/SinTan1729/chhoto-url
synced 2024-12-26 07:38:36 -06:00
Slightly modified default docker files
This commit is contained in:
parent
89eb5526ce
commit
dc171b9973
2 changed files with 3 additions and 2 deletions
|
@ -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 a new issue