We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5c165a8 + 38b8eee commit 5f583b0Copy full SHA for 5f583b0
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