Update Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
|
@@ -2,16 +2,12 @@ FROM python:3.12-slim
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
-
RUN apt-get update && apt-get install -y --no-install-recommends
|
| 6 |
-
build-essential cmake git libsndfile1 \
|
| 7 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 8 |
|
| 9 |
-
RUN pip install --no-cache-dir flask huggingface-hub soundfile
|
| 10 |
|
| 11 |
RUN pip install --no-cache-dir https://github.com/KittenML/KittenTTS/releases/download/0.8.1/kittentts-0.8.1-py3-none-any.whl
|
| 12 |
|
| 13 |
-
RUN CMAKE_ARGS="-DGGML_CPU=ON" pip install --no-cache-dir llama-cpp-python
|
| 14 |
-
|
| 15 |
COPY app.py .
|
| 16 |
|
| 17 |
EXPOSE 7860
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN apt-get update && apt-get install -y --no-install-recommends libsndfile1 && rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
| 6 |
|
| 7 |
+
RUN pip install --no-cache-dir flask huggingface-hub soundfile ctransformers
|
| 8 |
|
| 9 |
RUN pip install --no-cache-dir https://github.com/KittenML/KittenTTS/releases/download/0.8.1/kittentts-0.8.1-py3-none-any.whl
|
| 10 |
|
|
|
|
|
|
|
| 11 |
COPY app.py .
|
| 12 |
|
| 13 |
EXPOSE 7860
|