From a9d9b4e8f0009c506e00cdae34ab6592c079f6f7 Mon Sep 17 00:00:00 2001 From: hzhang Date: Tue, 10 Dec 2024 21:28:07 +0000 Subject: [PATCH] improve: fix README --- README.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 52d58bc..5841764 100644 --- a/README.md +++ b/README.md @@ -113,18 +113,15 @@ The application will be accessible at `http://localhost:3000` by default. ## Docker Deployment ### Image -Pull the latest Docker image from the repository: +Pull the latest Docker image from the registry: ```bash -docker pull git.hangman-lab.top/hzhang/hangman-lab-frontend:latest -``` -### Building the docker Image -```bash -docker build -t hangman-lab-frontend:latest . +docker pull git.hangman-lab.top/hzhang/hangmanlab-frontend:latest ``` + ### Running the Docker Container Ensure your backend service (e.g., running at http://localhost:5000) is up and accessible. Then, run the Docker container: ```bash -docker run -d -p 80:80 --name hangman-lab-frontend hangman-lab-frontend:latest +docker run -d -p 80:80 --name hangmanlab-frontend hangmanlab-frontend:latest ``` #### Note: