From c05cd29028a484e32e8398515e5dfde65cb5d4bb Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 7 Sep 2025 02:50:45 -0700 Subject: [PATCH] update script path --- Dockerfile | 6 +++--- compose.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d76108..d8776af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ RUN pip install --no-cache-dir --upgrade torch torchvision mokuro # create a user to run the application RUN useradd -m mokurouser \ - && mkdir -p /home/mokurouser/mokuro \ - && chown -R mokurouser:mokurouser /home/mokurouser + && mkdir -p /mokuro \ + && chown -R mokurouser:mokurouser /mokuro -WORKDIR /home/mokurouser/mokuro +WORKDIR /mokuro COPY . . diff --git a/compose.yaml b/compose.yaml index d5f22bb..2f9ff46 100644 --- a/compose.yaml +++ b/compose.yaml @@ -8,8 +8,8 @@ services: container_name: mokuro user: 1000:1000 volumes: - - ~/S/japanese/manga:/home/mokurouser/mokuro - command: mokuro --parent_dir One\ Piece\ Color --disable_confirmation && ./zip.sh "One Piece Color" + - ~/S/japanese/manga:/mokuro/manga + command: mokuro --parent_dir "manga/One Piece Color" --disable_confirmation && ./zip.sh "manga/One Piece Color" runtime: nvidia restart: no network_mode: host