Showing
1 changed file
with
2 additions
and
0 deletions
@@ -10,6 +10,8 @@ ENV XMS 1000M | @@ -10,6 +10,8 @@ ENV XMS 1000M | ||
10 | # 打包的路径, | 10 | # 打包的路径, |
11 | COPY start/target/yohomars.jar /opt/yohomars.jar | 11 | COPY start/target/yohomars.jar /opt/yohomars.jar |
12 | 12 | ||
13 | +VOLUME /Data/logs/yoho-datasync-producer | ||
14 | + | ||
13 | EXPOSE 8072 | 15 | EXPOSE 8072 |
14 | 16 | ||
15 | CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yohomars.jar | 17 | CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yohomars.jar |
-
Please register or login to post a comment