Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
3d969280
Unverified
Commit
3d969280
authored
Nov 13, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Nov 13, 2024
Browse files
Merge pull request #938 from kimi360/master
fix: 修复Dockerfile文件中download_models.py脚本路径问题
parents
4c946d5b
52673475
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Dockerfile
Dockerfile
+1
-1
No files found.
Dockerfile
View file @
3d969280
...
@@ -42,7 +42,7 @@ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.tem
...
@@ -42,7 +42,7 @@ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.tem
# Download models and update the configuration file
# Download models and update the configuration file
RUN
/bin/bash
-c
"pip3 install modelscope &&
\
RUN
/bin/bash
-c
"pip3 install modelscope &&
\
wget https://gitee.com/myhloli/MinerU/raw/master/
doc
s/download_models.py &&
\
wget https://gitee.com/myhloli/MinerU/raw/master/
script
s/download_models.py &&
\
python3 download_models.py &&
\
python3 download_models.py &&
\
sed -i 's|cpu|cuda|g' /root/magic-pdf.json"
sed -i 's|cpu|cuda|g' /root/magic-pdf.json"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment