Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -6,11 +6,10 @@ WORKDIR /
|
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
curl \
|
| 8 |
ffmpeg \
|
| 9 |
-
git \
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
-
# Install
|
| 13 |
-
RUN pip install https://github.com/Ary5272/llama-cpp-python/releases/download/v0.1.1/llama_cpp_python-0.3.
|
| 14 |
|
| 15 |
# Install other packages
|
| 16 |
RUN pip install \
|
|
@@ -18,7 +17,6 @@ RUN pip install \
|
|
| 18 |
faster-whisper \
|
| 19 |
huggingface_hub
|
| 20 |
|
| 21 |
-
# Copy app
|
| 22 |
COPY app.py /app.py
|
| 23 |
COPY entrypoint.sh /entrypoint.sh
|
| 24 |
RUN chmod +x /entrypoint.sh
|
|
|
|
| 6 |
RUN apt-get update && apt-get install -y \
|
| 7 |
curl \
|
| 8 |
ffmpeg \
|
|
|
|
| 9 |
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
+
# Install YOUR llama-cpp-python wheel! 🔥
|
| 12 |
+
RUN pip install https://github.com/Ary5272/llama-cpp-python/releases/download/v0.1.1/llama_cpp_python-0.3.16-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
|
| 13 |
|
| 14 |
# Install other packages
|
| 15 |
RUN pip install \
|
|
|
|
| 17 |
faster-whisper \
|
| 18 |
huggingface_hub
|
| 19 |
|
|
|
|
| 20 |
COPY app.py /app.py
|
| 21 |
COPY entrypoint.sh /entrypoint.sh
|
| 22 |
RUN chmod +x /entrypoint.sh
|