Skip to content

Commit 168921a

Browse files
committed
test
1 parent a523095 commit 168921a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test.containerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ FROM quay.io/opendatahub/llama-stack:rhoai-v2.25-latest
33

44
# Install missing dependencies
55
USER root
6-
RUN pip install faiss-cpu==1.11.0
6+
RUN pip install faiss-cpu==1.11.0 && \
7+
mkdir -p /opt/app-root/.llama/distributions/ollama && \
8+
chown -R 1001:0 /opt/app-root/.llama && \
9+
chmod -R g+rwx /opt/app-root/.llama
10+
11+
# Set working directory
12+
WORKDIR /opt/app-root
713

814
# Switch back to the original user
915
USER 1001

0 commit comments

Comments
 (0)