Skip to content

Commit be6f10d

Browse files
committed
change permissions for the path
1 parent 168921a commit be6f10d

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

test.containerfile

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ FROM quay.io/opendatahub/llama-stack:rhoai-v2.25-latest
44
# Install missing dependencies
55
USER root
66
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
7+
mkdir -p /app-root && \
8+
chown -R 1001:0 /app-root && \
9+
chmod -R 775 /app-root
1310

1411
# Switch back to the original user
1512
USER 1001

0 commit comments

Comments
 (0)