mrfakename commited on
Commit
7d7fbde
·
verified ·
1 Parent(s): 3b654ee

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -5,8 +5,10 @@ ENV DEBIAN_FRONTEND=noninteractive
5
  RUN apt-get update -y && \
6
  apt-get upgrade -y && \
7
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
8
- pip install packaging && \
9
- echo "Installing" && \
 
 
10
  # pip install -r <(curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g') && \
11
  tmp=$(mktemp) && curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g' | sed 's/flash-attn/flash-attn==1.0.5/' > "$tmp" && pip install -r "$tmp" && rm "$tmp" && \
12
  adduser --disabled-password --gecos '' user && \
 
5
  RUN apt-get update -y && \
6
  apt-get upgrade -y && \
7
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
8
+ pip install packaging
9
+ RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
10
+ RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
11
+ RUN echo "Installing" && \
12
  # pip install -r <(curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g') && \
13
  tmp=$(mktemp) && curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g' | sed 's/flash-attn/flash-attn==1.0.5/' > "$tmp" && pip install -r "$tmp" && rm "$tmp" && \
14
  adduser --disabled-password --gecos '' user && \