Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,10 @@ WORKDIR /usr/src/app
|
|
| 16 |
# Copia o arquivo de depend锚ncias e instala
|
| 17 |
COPY requirements.txt ./
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
# Copia o c贸digo do projeto
|
| 21 |
COPY . .
|
|
|
|
| 16 |
# Copia o arquivo de depend锚ncias e instala
|
| 17 |
COPY requirements.txt ./
|
| 18 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 19 |
+
# Installing 'resemblyzer' without dependencies using '--no-deps' to prevent it from overwriting
|
| 20 |
+
# the currently installed version of PyTorch (pytorch + cpu). Other dependencies such as librosa, numpy, scipy,
|
| 21 |
+
# typing, and webrtcvad are being installed normally in the 'requirements.txt' file.
|
| 22 |
+
RUN pip install --no-cache-dir --no-deps Resemblyzer==0.1.4
|
| 23 |
|
| 24 |
# Copia o c贸digo do projeto
|
| 25 |
COPY . .
|