|
@@ -11,7 +11,7 @@ COPY ${JAR_FILE} weichi-crm-gateway.jar
|
|
|
EXPOSE 8443
|
|
|
|
|
|
CMD echo "****** Start... " & \
|
|
|
- echo "****** 运行命令:nohup java -jar weichi-crm-gateway.jar >> /home/weichi-crm-gateway.log 2>&1 &" & \
|
|
|
- nohup java -jar weichi-crm-gateway.jar >> /home/weichi-crm-gateway.log 2>&1 & \
|
|
|
+ echo "****** 运行命令:nohup java -jar weichi-crm-gateway.jar >> ./logs/weichi-crm-gateway.log 2>&1 &" & \
|
|
|
+ nohup java -jar weichi-crm-gateway.jar >> ./logs/weichi-crm-gateway.log 2>&1 & \
|
|
|
echo "****** 查看日志..." & \
|
|
|
- tail -f /home/weichi-crm-gateway.log
|
|
|
+ tail -f ./logs/weichi-crm-gateway.log
|