File tree Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Expand file tree Collapse file tree 1 file changed +10
-17
lines changed Original file line number Diff line number Diff line change @@ -32,22 +32,15 @@ Thymeleaf is a new template engine. http://www.thymeleaf.org/index.html
32
32
</property>
33
33
</bean>
34
34
35
+
36
+ ### Docker编译
35
37
36
- ![ Alt text] (http://g.gravizo.com/g ?
37
- digraph G {
38
- aize ="4,4";
39
- main [ shape=box] ;
40
- main -> parse [ weight=8] ;
41
- parse -> execute;
42
- main -> init [ style=dotted] ;
43
- main -> cleanup;
44
- execute -> { make_string; printf}
45
- init -> make_string;
46
- edge [ color=red] ;
47
- main -> printf [ style=bold,label="100 times"] ;
48
- make_string [ label="make a string"] ;
49
- node [ shape=box,style=filled,color=".7 .3 1.0"] ;
50
- execute -> compare;
51
- }
52
- )
38
+ * 命令行:
53
39
40
+ $ docker run -it --rm --name thymeleaf-demo-project -v "$(pwd)":/usr/src/app -v "$HOME/.m2":/root/.m2 -w /usr/src/app maven:3.3.3-jdk-8 mvn clean compile
41
+
42
+ * docker-compose
43
+
44
+ $ docker-compose --abort-on-container-exit
45
+
46
+
You can’t perform that action at this time.
0 commit comments