mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
new image
This commit is contained in:
parent
ce903711bc
commit
fd04682cf4
@ -10,7 +10,7 @@ COPY static ./static
|
||||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisords
|
||||
# Install supervisord
|
||||
RUN apt install -y supervisor
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
@ -332,7 +332,7 @@ def get_apps_from_compose():
|
||||
myLogger.info_logger("ok")
|
||||
if status == "exited":
|
||||
|
||||
cmd = "docker ps -f -a name=" + customer_name + " --format {{.Names}}#{{.Status}}|grep Exited"
|
||||
cmd = "docker ps -a -f name=" + customer_name + " --format {{.Names}}#{{.Status}}|grep Exited"
|
||||
result = shell_execute.execute_command_output_all(cmd)["result"].rstrip('\n')
|
||||
container = result.split("#Exited")[0]
|
||||
if container != customer_name:
|
||||
|
Loading…
Reference in New Issue
Block a user