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
0e77b8a0
Unverified
Commit
0e77b8a0
authored
Aug 30, 2024
by
Xiaomeng Zhao
Committed by
GitHub
Aug 30, 2024
Browse files
Update Dockerfile
parent
b72d4ebd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Dockerfile
Dockerfile
+2
-2
No files found.
Dockerfile
View file @
0e77b8a0
...
@@ -44,7 +44,7 @@ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.tem
...
@@ -44,7 +44,7 @@ RUN /bin/bash -c "wget https://gitee.com/myhloli/MinerU/raw/master/magic-pdf.tem
RUN
/bin/bash
-c
"pip3 install modelscope &&
\
RUN
/bin/bash
-c
"pip3 install modelscope &&
\
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py &&
\
wget https://gitee.com/myhloli/MinerU/raw/master/docs/download_models.py &&
\
python3 download_models.py &&
\
python3 download_models.py &&
\
sed -i 's|/tmp/models|/root/.cache/modelscope/hub/
wanderkid
/PDF-Extract-Kit/models|g' /root/magic-pdf.json &&
\
sed -i 's|/tmp/models|/root/.cache/modelscope/hub/
opendatalab
/PDF-Extract-Kit/models|g' /root/magic-pdf.json &&
\
sed -i 's|cpu|cuda|g' /root/magic-pdf.json"
sed -i 's|cpu|cuda|g' /root/magic-pdf.json"
# Set the entry point to activate the virtual environment and run the command line tool
# Set the entry point to activate the virtual environment and run the command line tool
...
...
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