Skip to content

Commit 2c4eeb2

Browse files
committed
Updated Readme to Include Docker commands
Readme now includes the commands needed to run the application using Docker
1 parent 91b0682 commit 2c4eeb2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
# Lab-Assignment-01
22

3-
**How to Run**
3+
**How to Run Using Maven**
44

55
- Navigate to the LabAssignment01Noulis directory
66
- run the command ./mvnw spring-boot:run
77
- Go to http://localhost:8080/products.html
88

9-
Testing
9+
10+
11+
**How to Run Using Docker**
12+
13+
- Run the command: docker pull pnoulis/my-java-app
14+
- Run the command: docker run -d -p 8080:8080 pnoulis/my-java-app
15+
- Go to: http://localhost:8080/products.html
16+

0 commit comments

Comments
 (0)