Browse Source

修改docker配置

zq940222 2 months ago
parent
commit
10b623d114
1 changed files with 3 additions and 3 deletions
  1. 3 3
      gateway/Dockerfile

+ 3 - 3
gateway/Dockerfile

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