Commit
·
7ba1133
1
Parent(s):
d99ddb9
fix copy issue
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -6,6 +6,9 @@ COPY requirements.txt .
|
|
6 |
RUN apt-get update && apt-get install -y libsndfile1 && \
|
7 |
pip install --no-cache-dir -r requirements.txt
|
8 |
|
|
|
9 |
COPY app.py .
|
|
|
|
|
10 |
|
11 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
6 |
RUN apt-get update && apt-get install -y libsndfile1 && \
|
7 |
pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
+
# ✅ 把相关目录和文件都复制进去
|
10 |
COPY app.py .
|
11 |
+
COPY ct2_model/ ct2_model/
|
12 |
+
COPY whisper_processor/ whisper_processor/
|
13 |
|
14 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|