File tree Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Expand file tree Collapse file tree 2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,17 @@ Or simply run it using Maven directly:
42
42
43
43
### 🐳 Dockerized
44
44
45
- [ // ] : # ( TODO: Add Docker instructions )
45
+ The app is [ published] ( https://hub.docker.com/r/maslycht/foreign-splitter-java ) in Docker Hub and can be run directly:
46
+
47
+ ``` shell
48
+ docker run -p 8080:8080 maslycht/foreign-splitter-java
49
+ ```
50
+
51
+ To build the image locally, run:
52
+
53
+ ``` shell
54
+ ./mvnw compile jib:dockerBuild
55
+ ```
46
56
47
57
## 🎥 Demo
48
58
Original file line number Diff line number Diff line change 63
63
<groupId >org.springframework.boot</groupId >
64
64
<artifactId >spring-boot-maven-plugin</artifactId >
65
65
</plugin >
66
+ <plugin >
67
+ <groupId >com.google.cloud.tools</groupId >
68
+ <artifactId >jib-maven-plugin</artifactId >
69
+ <version >3.4.4</version >
70
+ <configuration >
71
+ <to >
72
+ <image >docker.io/maslycht/foreign-splitter-java</image >
73
+ <tags >
74
+ <tag >${project.version} </tag >
75
+ <tag >latest</tag >
76
+ </tags >
77
+ </to >
78
+ </configuration >
79
+ </plugin >
66
80
</plugins >
67
81
</build >
68
82
<repositories >
You can’t perform that action at this time.
0 commit comments