From 74d39e67c61e3edc9db6d202d4ded013b0ea6a82 Mon Sep 17 00:00:00 2001 From: claude Date: Mon, 24 Aug 2026 03:07:10 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20Dockerfile=20=EB=A0=88=EC=9D=B4?= =?UTF-8?q?=EC=96=B4=20=EC=88=9C=EC=84=9C=20=EC=B5=9C=EC=A0=81=ED=99=94(?= =?UTF-8?q?=EC=9B=8C=EB=B0=8D=EC=97=85=EC=9D=84=20=EC=95=B1=20COPY=20?= =?UTF-8?q?=EC=95=9E=EC=9C=BC=EB=A1=9C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e5f41e4..fa7e2e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,12 +27,13 @@ RUN pip install -c constraints.txt -r requirements.txt # (PyPI 미배포 0.1.2 + gradio/tensorboard 등 불필요 의존성 회피) COPY vendor/melo /usr/local/lib/python3.11/site-packages/melo +# 한국어/영어 모델 및 부가 데이터 사전 다운로드 (첫 요청 지연 제거) +# (app/frontend COPY 보다 앞: 앱 코드만 바뀌어도 재-워밍업하지 않도록) +COPY warmup.py ./ +RUN python warmup.py + COPY app ./app COPY frontend ./frontend -COPY warmup.py ./ - -# 한국어/영어 모델 및 부가 데이터 사전 다운로드 (첫 요청 지연 제거) -RUN python warmup.py # 기본 MeloTTS 단일 엔진 (자동 언어 감지: 한/영 혼합) EXPOSE 8788