Authored by jimi

add volume

@@ -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