From d4a401e5e9d1dcc33148f28845ff208ddfe88caa Mon Sep 17 00:00:00 2001 From: Ashley Kleynhans Date: Thu, 11 Apr 2024 11:59:17 +0200 Subject: [PATCH] Copy script to start Kohya_ss --- Dockerfile | 2 +- app-manager/start_kohya.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100755 app-manager/start_kohya.sh diff --git a/Dockerfile b/Dockerfile index 9ebfed5..0a6153f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,7 @@ RUN git clone https://github.com/ashleykleynhans/app-manager.git /app-manager && git checkout tags/${APP_MANAGER_VERSION} && \ npm install COPY app-manager/config.json /app-manager/public/config.json -COPY --chmod=755 app-manager/stop_kohya.sh /app-manager/scripts/stop_kohya.sh +COPY --chmod=755 app-manager/*.sh /app-manager/ # Remove existing SSH host keys RUN rm -f /etc/ssh/ssh_host_* diff --git a/app-manager/start_kohya.sh b/app-manager/start_kohya.sh new file mode 100755 index 0000000..173be86 --- /dev/null +++ b/app-manager/start_kohya.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +cd /workspace/kohya_ss && nohup ./gui.sh --listen 0.0.0.0 --server_port 3001 --headless > /workspace/logs/kohya_ss.log 2>&1 &