marcosremar2 commited on
Commit
4afc45f
·
1 Parent(s): 0f77915

Fix: Add execute permissions to download_models.py

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -0
Dockerfile CHANGED
@@ -52,6 +52,7 @@ RUN python3 -m venv /opt/mineru_venv && \
52
  USER user
53
  RUN . /opt/mineru_venv/bin/activate && \
54
  wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models.py && \
 
55
  python3 download_models.py && \
56
  wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json -O $HOME/magic-pdf.json && \
57
  sed -i 's|"device": "cpu"|"device": "cpu"|g' $HOME/magic-pdf.json
 
52
  USER user
53
  RUN . /opt/mineru_venv/bin/activate && \
54
  wget https://github.com/opendatalab/MinerU/raw/master/scripts/download_models_hf.py -O download_models.py && \
55
+ chmod +x download_models.py && \
56
  python3 download_models.py && \
57
  wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json -O $HOME/magic-pdf.json && \
58
  sed -i 's|"device": "cpu"|"device": "cpu"|g' $HOME/magic-pdf.json