Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
|
@@ -36,8 +36,13 @@ COPY --chown=user . /app
|
|
| 36 |
# Wichtig: Isolation deaktivieren für llama-cpp-python Build
|
| 37 |
RUN pip install --upgrade pip
|
| 38 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
# Optional: zuerst llama-cpp-python bauen (cachebar)
|
| 40 |
-
RUN pip install scikit-build-core
|
| 41 |
RUN pip install --no-cache-dir --no-build-isolation llama-cpp-python
|
| 42 |
|
| 43 |
# Danach: outetts (zieht llama-cpp-python nicht erneut)
|
|
|
|
| 36 |
# Wichtig: Isolation deaktivieren für llama-cpp-python Build
|
| 37 |
RUN pip install --upgrade pip
|
| 38 |
|
| 39 |
+
# Manuell Build-Werkzeuge bereitstellen
|
| 40 |
+
RUN pip install --no-cache-dir \
|
| 41 |
+
setuptools \
|
| 42 |
+
wheel \
|
| 43 |
+
scikit-build-core[pyproject]
|
| 44 |
+
|
| 45 |
# Optional: zuerst llama-cpp-python bauen (cachebar)
|
|
|
|
| 46 |
RUN pip install --no-cache-dir --no-build-isolation llama-cpp-python
|
| 47 |
|
| 48 |
# Danach: outetts (zieht llama-cpp-python nicht erneut)
|