Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
myhloli authored Jan 6, 2025
1 parent bc39fa8 commit 57b5999
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docker/ascend_npu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ RUN apt-get update && \
python3.10 \
python3.10-venv \
python3.10-distutils \
python3.10-dev \
python3-pip \
python3.10-dev \
python3-pip \
wget \
git \
libgl1 \
Expand Down Expand Up @@ -52,4 +52,4 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
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
ENTRYPOINT ["/bin/bash", "-c", "source /opt/mineru_venv/bin/activate && exec \"$@\"", "--"]
ENTRYPOINT ["/bin/bash", "-c", "source /opt/mineru_venv/bin/activate && exec \"$@\"", "--"]

0 comments on commit 57b5999

Please sign in to comment.