Skip to content

Commit

Permalink
Copy script to start Kohya_ss
Browse files Browse the repository at this point in the history
  • Loading branch information
ashleykleynhans committed Apr 11, 2024
1 parent 8f3ba05 commit d4a401e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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_*
Expand Down
2 changes: 2 additions & 0 deletions app-manager/start_kohya.sh
Original file line number Diff line number Diff line change
@@ -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 &

0 comments on commit d4a401e

Please sign in to comment.