-
Notifications
You must be signed in to change notification settings - Fork 642
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for building and running with docker
- Loading branch information
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,24 @@ | ||
# Getting Started | ||
|
||
// TODO | ||
## Build on source code | ||
|
||
``` | ||
cd eventmesh-console | ||
./gradlew clean bootJar | ||
``` | ||
|
||
``` | ||
java -jar build/libs/eventmesh-console-0.0.1-SNAPSHOT.jar | ||
``` | ||
|
||
## Build and Run with Docker | ||
|
||
``` | ||
cd eventmesh-console | ||
./gradlew clean bootJar | ||
docker build -t yourname/eventmesh-console -f docker/Dockerfile . | ||
``` | ||
|
||
``` | ||
docker run -d --name eventmesh-console -p 8080:8080 yourname/eventmesh-console | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters