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
57b5999e
Unverified
Commit
57b5999e
authored
Jan 06, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jan 06, 2025
Browse files
Update Dockerfile
parent
bc39fa87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
docker/ascend_npu/Dockerfile
docker/ascend_npu/Dockerfile
+3
-3
No files found.
docker/ascend_npu/Dockerfile
View file @
57b5999e
...
@@ -16,8 +16,8 @@ RUN apt-get update && \
...
@@ -16,8 +16,8 @@ RUN apt-get update && \
python3.10
\
python3.10
\
python3.10-venv
\
python3.10-venv
\
python3.10-distutils
\
python3.10-distutils
\
python3.10-dev
\
python3.10-dev
\
python3-pip
\
python3-pip
\
wget
\
wget
\
git
\
git
\
libgl1
\
libgl1
\
...
@@ -52,4 +52,4 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
...
@@ -52,4 +52,4 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
sed -i 's|cpu|npu|g' /root/magic-pdf.json"
sed -i 's|cpu|npu|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
ENTRYPOINT
["/bin/bash", "-c", "source /opt/mineru_venv/bin/activate && exec \"$@\"", "--"]
ENTRYPOINT
["/bin/bash", "-c", "source /opt/mineru_venv/bin/activate && exec \"$@\"", "--"]
\ No newline at end of file
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