Skip to content

Commit 5f583b0

Browse files
committed
Merge branch 'main' of github.com:abetlen/llama_cpp_python into main
2 parents 5c165a8 + 38b8eee commit 5f583b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
FROM python:3-bullseye
1+
FROM python:3-slim-bullseye
22

33
# We need to set the host to 0.0.0.0 to allow outside access
44
ENV HOST 0.0.0.0
55

66
COPY . .
77

88
# Install the package
9-
RUN apt update && apt install -y libopenblas-dev
9+
RUN apt update && apt install -y libopenblas-dev ninja-build build-essential
1010
RUN python -m pip install --upgrade pip pytest cmake scikit-build setuptools fastapi uvicorn sse-starlette
1111

1212
RUN LLAMA_OPENBLAS=1 python3 setup.py develop
1313

1414
# Run the server
15-
CMD python3 -m llama_cpp.server
15+
CMD python3 -m llama_cpp.server

0 commit comments

Comments
 (0)