LAP-DEV commited on
Commit
1b50cc7
·
verified ·
1 Parent(s): 2977fca

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -10
Dockerfile CHANGED
@@ -9,18 +9,17 @@ WORKDIR /Whisper-WebUI
9
 
10
  COPY requirements.txt .
11
 
12
- # 1. Installeer eerst de tools die nodig zijn voor het bouwen
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 -U -r requirements.txt
 
 
 
 
 
 
 
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