|
|
@@ -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 到当前目录
|
|
|
|