Skip to content

Commit 3da027b

Browse files
committed
add commands
1 parent 4545c32 commit 3da027b

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,13 @@ update-deps:
3131

3232
build-run: build run
3333

34+
docker-build:
35+
docker build -t java-spring-boot-hello-world .
36+
37+
docker-run:
38+
docker run -p 3000:8080 --name spring-hello-world java-spring-boot-hello-world
39+
40+
docker-bash:
41+
docker run --rm -it -p 3000:8080 java-spring-boot-hello-world bash
42+
3443
.PHONY: build

0 commit comments

Comments
 (0)