8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cabd8b8 + 5672ed7 commit 38b8eeeCopy full SHA for 38b8eee
Dockerfile
@@ -1,15 +1,15 @@
1
-FROM python:3-bullseye
+FROM python:3-slim-bullseye
2
3
# We need to set the host to 0.0.0.0 to allow outside access
4
ENV HOST 0.0.0.0
5
6
COPY . .
7
8
# Install the package
9
-RUN apt update && apt install -y libopenblas-dev
+RUN apt update && apt install -y libopenblas-dev ninja-build build-essential
10
RUN python -m pip install --upgrade pip pytest cmake scikit-build setuptools fastapi uvicorn sse-starlette
11
12
RUN LLAMA_OPENBLAS=1 python3 setup.py develop
13
14
# Run the server
15
-CMD python3 -m llama_cpp.server
+CMD python3 -m llama_cpp.server
0 commit comments