aka7774 commited on
Commit
d77a765
·
verified ·
1 Parent(s): 585d13d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -19,13 +19,17 @@ WORKDIR /app
19
  # --depth 1 で履歴を浅くクローンし、ビルド時間を短縮
20
  RUN git clone --depth 1 --branch dev https://github.com/litagin02/Style-Bert-VITS2.git
21
 
 
 
22
  # Style-Bert-VITS2 の依存関係をインストール
23
  # ここで requirements.txt を直接指定してインストール
24
- RUN pip install -r Style-Bert-VITS2/requirements.txt
25
 
26
  # Style-Bert-VITS2 の初期化スクリプトを実行 (BERTモデルなどはダウンロードしない)
27
  # この時点で Style-Bert-VITS2 のコードが利用可能になっている
28
- RUN python Style-Bert-VITS2/initialize.py --skip_default_models
 
 
29
 
30
  # Gradioアプリ用の requirements.txt をコピー
31
  COPY requirements.txt .
 
19
  # --depth 1 で履歴を浅くクローンし、ビルド時間を短縮
20
  RUN git clone --depth 1 --branch dev https://github.com/litagin02/Style-Bert-VITS2.git
21
 
22
+ WORKDIR /app/Style-Bert-VITS2
23
+
24
  # Style-Bert-VITS2 の依存関係をインストール
25
  # ここで requirements.txt を直接指定してインストール
26
+ RUN pip install -r requirements.txt
27
 
28
  # Style-Bert-VITS2 の初期化スクリプトを実行 (BERTモデルなどはダウンロードしない)
29
  # この時点で Style-Bert-VITS2 のコードが利用可能になっている
30
+ RUN python initialize.py --skip_default_models
31
+
32
+ WORKDIR /app
33
 
34
  # Gradioアプリ用の requirements.txt をコピー
35
  COPY requirements.txt .