Skip to content

Commit bc366cd

Browse files
committed
添加docker运行说明
1 parent eb71918 commit bc366cd

File tree

1 file changed

+10
-17
lines changed

1 file changed

+10
-17
lines changed

README.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -32,22 +32,15 @@ Thymeleaf is a new template engine. http://www.thymeleaf.org/index.html
3232
</property>
3333
</bean>
3434
35+
36+
### Docker编译
3537

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+
* 命令行:
5339

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+

0 commit comments

Comments
 (0)