From e36d2e0c06d3fbdf1b1fc530f5b53e3952c352cc Mon Sep 17 00:00:00 2001 From: Sudo-JHare Date: Mon, 12 May 2025 21:32:02 +1000 Subject: [PATCH] Update README.md --- README.md | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 1a62537..40a4b4e 100644 --- a/README.md +++ b/README.md @@ -91,21 +91,17 @@ An internet connection is required to fetch IG metadata from FHIR registries dur ##Build the Docker Image Ensure you are in the project directory where the Dockerfile is located. Build the Docker image using: - - docker build -t iggyapi:latest . - +```bash + docker build -t iggyapi:latest . +``` This creates an image named iggyapi with the latest tag. ##Run the Docker Container Start a container from the built image, mapping port 8000 on your host to port 8000 in the container: - - docker run -d -p 8000:8000 -e PORT=8000 -v C:/git/IggyApi/instance:/app/instance iggyapi:latest - - --d: Runs the container in detached mode. --p 8000:8000: Maps port 8000 of the container to port 8000 on your host. ---name iggyapi-container: Names the container for easy reference. - - +```bash + docker run -d -p 8000:8000 -e PORT=8000 -v C:/git/IggyApi/instance:/app/instance iggyapi:latest +``` Verify the Container is Running:Check the status of the container: docker ps