Spaces:
Build error
Build error
mrfakename
commited on
Update Dockerfile
Browse files- 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 |
-
|
|
|
|
|
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 && \
|