Spaces:
Sleeping
Sleeping
Commit
·
4301879
1
Parent(s):
51fbac8
update
Browse files- Dockerfile +7 -4
Dockerfile
CHANGED
|
@@ -16,10 +16,13 @@ COPY scripts/ /app/
|
|
| 16 |
RUN python setup_env.py
|
| 17 |
|
| 18 |
# 下载模型文件并调整存储路径
|
| 19 |
-
RUN wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py && \
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
|
| 24 |
# 复制项目代码
|
| 25 |
COPY . /app/
|
|
|
|
| 16 |
RUN python setup_env.py
|
| 17 |
|
| 18 |
# 下载模型文件并调整存储路径
|
| 19 |
+
# RUN wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models_hf.py && \
|
| 20 |
+
# python download_models_hf.py && \
|
| 21 |
+
# rm -rf /root/.cache/pip && \
|
| 22 |
+
# python additional_scripts.py
|
| 23 |
+
|
| 24 |
+
# 只运行本地脚本
|
| 25 |
+
RUN python additional_scripts.py
|
| 26 |
|
| 27 |
# 复制项目代码
|
| 28 |
COPY . /app/
|