Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
4d928f3
1
Parent(s):
4c13fe4
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -6,18 +6,19 @@ WORKDIR /app
|
|
6 |
# Install python, git & ffmpeg
|
7 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
8 |
build-essential \
|
9 |
-
python3.
|
10 |
python3-pip \
|
11 |
git \
|
12 |
-
ffmpeg \
|
13 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
14 |
|
15 |
WORKDIR $HOME/app
|
|
|
16 |
COPY ./requirements.txt /app/requirements.txt
|
17 |
COPY ./packages.txt /app/packages.txt
|
|
|
18 |
RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
19 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
20 |
-
RUN pip3 install --no-cache-dir -r
|
21 |
RUN pip3 install --no-binary :all: --no-use-pep517 pyworld
|
22 |
|
23 |
|
|
|
6 |
# Install python, git & ffmpeg
|
7 |
RUN apt-get update && apt-get install --no-install-recommends -y \
|
8 |
build-essential \
|
9 |
+
python3.8.10 \
|
10 |
python3-pip \
|
11 |
git \
|
|
|
12 |
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
13 |
|
14 |
WORKDIR $HOME/app
|
15 |
+
|
16 |
COPY ./requirements.txt /app/requirements.txt
|
17 |
COPY ./packages.txt /app/packages.txt
|
18 |
+
|
19 |
RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
|
20 |
RUN apt-get update && xargs -r -a /app/packages.txt apt-get install -y && rm -rf /var/lib/apt/lists/*
|
21 |
+
RUN pip3 install --no-cache-dir -r /app/requirements.txt
|
22 |
RUN pip3 install --no-binary :all: --no-use-pep517 pyworld
|
23 |
|
24 |
|