Update Dockerfile
Browse files- Dockerfile +1 -7
Dockerfile
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
-
|
| 2 |
-
FROM python:3.11-slim AS builder
|
| 3 |
|
| 4 |
RUN apt-get update && \
|
| 5 |
apt-get install -y curl git python3 python3-pip python3-venv && \
|
|
@@ -10,11 +9,6 @@ WORKDIR /Whisper-WebUI
|
|
| 10 |
|
| 11 |
COPY requirements.txt .
|
| 12 |
|
| 13 |
-
RUN pip install --upgrade pip setuptools wheel
|
| 14 |
-
RUN git clone https://github.com/jhj0517/jhj0517-whisper.git && \
|
| 15 |
-
cd jhj0517-whisper && \
|
| 16 |
-
pip install .
|
| 17 |
-
|
| 18 |
RUN python3 -m venv venv && \
|
| 19 |
. venv/bin/activate && \
|
| 20 |
pip install -U -r requirements.txt
|
|
|
|
| 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 && \
|
|
|
|
| 9 |
|
| 10 |
COPY requirements.txt .
|
| 11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
RUN python3 -m venv venv && \
|
| 13 |
. venv/bin/activate && \
|
| 14 |
pip install -U -r requirements.txt
|