mrfakename commited on
Commit
5a68cb6
1 Parent(s): 2f1f033
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -3,7 +3,8 @@ FROM nvidia/cuda:12.2.0-base-ubuntu22.04
3
  RUN apt-get update -y && \
4
  apt-get upgrade -y && \
5
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
6
- pip install -r <(curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g') && \
 
7
  adduser --disabled-password --gecos '' user && \
8
  mkdir /content && \
9
  chown -R user:user /content
 
3
  RUN apt-get update -y && \
4
  apt-get upgrade -y && \
5
  apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
6
+ # pip install -r <(curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g') && \
7
+ tmp=$(mktemp) && curl -s https://raw.githubusercontent.com/metavoiceio/metavoice-src/main/requirements.txt | tr '\n' ' ' | sed 's/ /\n/g' > "$tmp" && pip install -r "$tmp" && rm "$tmp" && \
8
  adduser --disabled-password --gecos '' user && \
9
  mkdir /content && \
10
  chown -R user:user /content