Spaces:
Sleeping
Sleeping
xusijie commited on
Commit ·
f91f779
1
Parent(s): 6f26c08
update download.sh
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -15,14 +15,15 @@ COPY static/ ./static/
|
|
| 15 |
COPY web/ ./web/
|
| 16 |
COPY prompts/ ./prompts/
|
| 17 |
COPY .storyline/ ./.storyline/
|
|
|
|
| 18 |
|
| 19 |
# 安装依赖
|
| 20 |
RUN apt-get update && apt-get install -y ffmpeg
|
| 21 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 22 |
|
| 23 |
# 下载
|
| 24 |
-
COPY download.sh .
|
| 25 |
RUN chmod +x download.sh
|
|
|
|
| 26 |
|
| 27 |
# 暴露 HF Space 默认端口
|
| 28 |
EXPOSE 7860
|
|
|
|
| 15 |
COPY web/ ./web/
|
| 16 |
COPY prompts/ ./prompts/
|
| 17 |
COPY .storyline/ ./.storyline/
|
| 18 |
+
COPY download.sh .
|
| 19 |
|
| 20 |
# 安装依赖
|
| 21 |
RUN apt-get update && apt-get install -y ffmpeg
|
| 22 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
# 下载
|
|
|
|
| 25 |
RUN chmod +x download.sh
|
| 26 |
+
RUN ./download.sh
|
| 27 |
|
| 28 |
# 暴露 HF Space 默认端口
|
| 29 |
EXPOSE 7860
|