improve: fix README
This commit is contained in:
11
README.md
11
README.md
@@ -113,18 +113,15 @@ The application will be accessible at `http://localhost:3000` by default.
|
|||||||
## Docker Deployment
|
## Docker Deployment
|
||||||
|
|
||||||
### Image
|
### Image
|
||||||
Pull the latest Docker image from the repository:
|
Pull the latest Docker image from the registry:
|
||||||
```bash
|
```bash
|
||||||
docker pull git.hangman-lab.top/hzhang/hangman-lab-frontend:latest
|
docker pull git.hangman-lab.top/hzhang/hangmanlab-frontend:latest
|
||||||
```
|
|
||||||
### Building the docker Image
|
|
||||||
```bash
|
|
||||||
docker build -t hangman-lab-frontend:latest .
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Running the Docker Container
|
### Running the Docker Container
|
||||||
Ensure your backend service (e.g., running at http://localhost:5000) is up and accessible. Then, run the Docker container:
|
Ensure your backend service (e.g., running at http://localhost:5000) is up and accessible. Then, run the Docker container:
|
||||||
```bash
|
```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:
|
#### Note:
|
||||||
|
|||||||
Reference in New Issue
Block a user