Authored by chaogeng
... ... @@ -8,10 +8,10 @@ ENV SPRING_PROFILES_ACTIVE prod
ENV XMX 1300M
ENV XMS 1300M
# 打包的路径,
COPY starter/target/yoho-fullsync.jar /opt/yoho-fullsync.jar
COPY starter/target/yoho-datasync-fullsync.jar /opt/yoho-datasync-fullsync.jar
VOLUME /Data/logs/yoho-fullsync
VOLUME /Data/logs/yoho-datasync-fullsync
EXPOSE 8080
CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yoho-fullsync.jar
\ No newline at end of file
CMD exec java -Xmx$XMX -Xms$XMS -jar /opt/yoho-datasync-fullsync.jar
\ No newline at end of file
... ...