Update Dockerfile
Browse files- Dockerfile +9 -10
Dockerfile
CHANGED
|
@@ -9,18 +9,17 @@ WORKDIR /Whisper-WebUI
|
|
| 9 |
|
| 10 |
COPY requirements.txt .
|
| 11 |
|
| 12 |
-
#
|
| 13 |
-
RUN pip install --no-cache-dir setuptools wheel
|
| 14 |
-
|
| 15 |
-
# 2. Installeer de problematische git-pakketten ZONDER build isolation
|
| 16 |
-
RUN pip install --no-cache-dir --no-build-isolation \
|
| 17 |
-
git+https://github.com/jhj0517/pyrubberband.git \
|
| 18 |
-
git+https://github.com/jhj0517/jhj0517-whisper.git \
|
| 19 |
-
git+https://github.com/jhj0517/ultimatevocalremover_api.git
|
| 20 |
-
|
| 21 |
RUN python3 -m venv venv && \
|
| 22 |
. venv/bin/activate && \
|
| 23 |
-
pip install -
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
FROM debian:bookworm-slim AS runtime
|
| 26 |
|
|
|
|
| 9 |
|
| 10 |
COPY requirements.txt .
|
| 11 |
|
| 12 |
+
# Maak de venv en doe ALLE installaties DAARBINNEN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
RUN python3 -m venv venv && \
|
| 14 |
. venv/bin/activate && \
|
| 15 |
+
pip install --no-cache-dir -U pip setuptools wheel && \
|
| 16 |
+
# Installeer de git-pakketten zonder isolatie IN de venv
|
| 17 |
+
pip install --no-cache-dir --no-build-isolation \
|
| 18 |
+
git+https://github.com/jhj0517/pyrubberband.git \
|
| 19 |
+
git+https://github.com/jhj0517/jhj0517-whisper.git \
|
| 20 |
+
git+https://github.com/jhj0517/ultimatevocalremover_api.git && \
|
| 21 |
+
# Installeer de rest van de requirements.txt
|
| 22 |
+
pip install --no-cache-dir -r requirements.txt
|
| 23 |
|
| 24 |
FROM debian:bookworm-slim AS runtime
|
| 25 |
|