Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4919f0

Browse files
authored
Update Dockerfile
1 parent 67a314f commit c4919f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker/openblas_simple/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ ENV HOST 0.0.0.0
66
COPY . .
77

88
# Install the package
9-
RUN apt update && apt install -y libopenblas-dev ninja-build build-essential pkg-config
9+
RUN apt update && apt install -y libopenblas-dev ninja-build build-essential pkg-config \
10+
&& apt-get clean \
11+
&& rm -rf /var/lib/apt/lists/*
12+
1013
RUN python -m pip install --upgrade pip pytest cmake scikit-build setuptools fastapi uvicorn sse-starlette pydantic-settings starlette-context
1114

1215
RUN CMAKE_ARGS="-DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS" pip install llama_cpp_python --verbose

0 commit comments

Comments
 (0)