LAP-DEV commited on
Commit
fc96e2c
·
verified ·
1 Parent(s): 9136205

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -39
Dockerfile DELETED
@@ -1,39 +0,0 @@
1
- FROM debian:bookworm-slim AS builder
2
-
3
- RUN apt-get update && \
4
- apt-get install -y curl git python3 python3-pip python3-venv && \
5
- rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/* && \
6
- mkdir -p /Whisper-WebUI
7
-
8
- WORKDIR /Whisper-WebUI
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/jhj0517-whisper.git && \
19
- # Installeer de rest van de requirements.txt
20
- pip install --no-cache-dir -r requirements.txt
21
-
22
- FROM debian:bookworm-slim AS runtime
23
-
24
- RUN apt-get update && \
25
- apt-get install -y curl ffmpeg python3 && \
26
- rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
27
-
28
- WORKDIR /Whisper-WebUI
29
-
30
- COPY . .
31
- COPY --from=builder /Whisper-WebUI/venv /Whisper-WebUI/venv
32
-
33
- VOLUME [ "/Whisper-WebUI/models" ]
34
- VOLUME [ "/Whisper-WebUI/outputs" ]
35
-
36
- ENV PATH="/Whisper-WebUI/venv/bin:$PATH"
37
- ENV LD_LIBRARY_PATH=/Whisper-WebUI/venv/lib64/python3.11/site-packages/nvidia/cublas/lib:/Whisper-WebUI/venv/lib64/python3.11/site-packages/nvidia/cudnn/lib
38
-
39
- ENTRYPOINT [ "python", "app.py" ]