소스 검색

update Dockerfile.

xdc 5 년 전
부모
커밋
7aecc58c08
1개의 변경된 파일11개의 추가작업 그리고 7개의 파일을 삭제
  1. 11 7
      Dockerfile

+ 11 - 7
Dockerfile

@@ -12,14 +12,7 @@ RUN chmod 777 /ent.sh
 ENTRYPOINT ["/ent.sh"]
 
 
-cat ent.sh
 
-#!/bin/bash
-chmod -R 777 /mnt/v1
-source /mnt/v1/reboot.sh &
-source /mnt/v1/refund.sh &
-chmod +x /server
-/mnt/v1/server /mnt/v1/conf.toml
 
 
 # 使用EFS挂载的方式,CMD中输入:
@@ -47,6 +40,17 @@ RUN chmod 777 /ent.sh
 ENTRYPOINT ["/ent.sh"]
 
 
+cat ent.sh
+
+#!/bin/bash
+chmod -R 777 /mnt/v1
+source /mnt/v1/reboot.sh &
+source /mnt/v1/refund.sh &
+chmod +x /server
+/mnt/v1/server /mnt/v1/conf.toml
+
+
+
 ## COPY 
 # 把需要用到的文件都cp 到当前目录