Commit ·
ff25b0a
1
Parent(s): 44682dc
Add error handling to Dockerfile download command for build stability
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -17,7 +17,8 @@ RUN apt-get update \
|
|
| 17 |
COPY . /app/
|
| 18 |
|
| 19 |
# 自動ダウンロードをCIモードで行う
|
| 20 |
-
|
|
|
|
| 21 |
|
| 22 |
# Python依存関係のインストール
|
| 23 |
RUN make install-python-packages
|
|
|
|
| 17 |
COPY . /app/
|
| 18 |
|
| 19 |
# 自動ダウンロードをCIモードで行う
|
| 20 |
+
# シェルのセットオプション -e を使用して、コマンドが失敗したら即座にDockerビルドを失敗させる
|
| 21 |
+
RUN set -e && make download-voicevox-core
|
| 22 |
|
| 23 |
# Python依存関係のインストール
|
| 24 |
RUN make install-python-packages
|