1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2024-12-26 23:58:35 -06:00

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 ### `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
``` ```

View file

@ -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: