woodserino commited on
Commit
f8fc20a
·
verified ·
1 Parent(s): 165fc80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -9,6 +9,12 @@ RUN apt update
9
  RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
10
  RUN python3 -m pip install --no-cache-dir --upgrade pip
11
 
 
 
 
 
 
 
12
  ARG REF=main
13
  RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF
14
  RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-torch,testing,video]
 
9
  RUN apt install -y git libsndfile1-dev tesseract-ocr espeak-ng python3 python3-pip ffmpeg
10
  RUN python3 -m pip install --no-cache-dir --upgrade pip
11
 
12
+
13
+ # Get Rust
14
+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
15
+
16
+ RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
17
+
18
  ARG REF=main
19
  RUN git clone https://github.com/huggingface/transformers && cd transformers && git checkout $REF
20
  RUN python3 -m pip install --no-cache-dir -e ./transformers[dev-torch,testing,video]