From be7bf5a6e6550a24a87f81964748a3d2b407f19d Mon Sep 17 00:00:00 2001 From: JesseBot Date: Thu, 6 Oct 2022 14:47:12 +0200 Subject: [PATCH] fix ports and explain them a bit more in the readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ae113f0..c520386 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,12 @@ Under the Hood 6. for docker, you can just do: ```bash - docker build . -t ` - # if you want to test it locally, you can do this + docker build . -t + + # to test locally, you can do -p 8000:8080 to forward + # port 8080 on the container to port 8000 on your local machine docker run --rm -p 8000:8080 ``` - Then you can go to http://127.0.0.1:8080 in a browser to view your changes. For testing locally, _without_ a docker rebuild: ```bash