From dc171b9973d36863909433fe7b61f7e182b33f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemek=20Draga=C5=84czuk?= Date: Sun, 16 Feb 2020 16:10:04 +0100 Subject: [PATCH] Slightly modified default docker files --- README.md | 4 ++-- docker-compose.yml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f484896..9f0752b 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docker-compose.yml b/docker-compose.yml index b375dde..1442403 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: # TODO: Publish to docker hub build: context: . + container_name: url ports: - 4567:4567 environment: