Skip to content

Commit caeb5f5

Browse files
committed
Updated readme.md
1 parent 4c487cb commit caeb5f5

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ provisioning an AWS EC2 instance with Terraform, and running your container on E
1414
that sets up the working directory, copies your source files, compiles Java files,
1515
exposes the required port, and sets the default command to launch your app.
1616
4. Build the Docker image locally and verify that it works.
17-
* docker build -t <name> . _example devops-demo
18-
* docker run -p <host-port>:<container-port> <name> _example: 8080:80
17+
* docker build -t <name> . _example devops-demo_
18+
* docker run -p <host-port>:<container-port> <name> _example: 8080:80_
1919

2020
---
2121

@@ -74,7 +74,7 @@ provisioning an AWS EC2 instance with Terraform, and running your container on E
7474
* sudo systemctl enable docker
7575
* docker pull ghcr.io/<your-username>/<repo-name>:latest
7676
* docker run -d -p 80:80 ghcr.io/<your-username>/<repo-name>:latest
77-
_In my case the latter two were:
77+
_In my case the latter two were:_
7878
* sudo docker pull ghcr.io/teodordichev/devopsrest/devops-demo:latest
7979
* sudo docker run -d -p 80:80 ghcr.io/teodordichev/devopsrest/devops-demo:latest
8080
5. Verify the container is running and accessible locally.

0 commit comments

Comments
 (0)