Update Dockerfile
Browse files- Dockerfile +0 -11
Dockerfile
CHANGED
@@ -15,17 +15,6 @@ RUN apt-get update && apt-get install git -y
|
|
15 |
RUN pip3 install "git+https://github.com/openai/whisper.git"
|
16 |
RUN apt-get update && apt-get install -y ffmpeg
|
17 |
|
18 |
-
# Install Python dependencies
|
19 |
-
RUN pip install --no-cache-dir -U pip setuptools wheel
|
20 |
-
RUN pip install --no-cache-dir setuptools-rust
|
21 |
-
RUN pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
|
22 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
23 |
-
|
24 |
-
|
25 |
-
# Environment variables for PyTorch and Whisper
|
26 |
-
ENV TORCH_DEVICE="cuda"
|
27 |
-
ENV FORCE_FP32="false"
|
28 |
-
|
29 |
# Expose port
|
30 |
EXPOSE 7860
|
31 |
|
|
|
15 |
RUN pip3 install "git+https://github.com/openai/whisper.git"
|
16 |
RUN apt-get update && apt-get install -y ffmpeg
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
# Expose port
|
19 |
EXPOSE 7860
|
20 |
|