From 9d1a57d39dc9b2d5231bc9ca452c912c751c1ff2 Mon Sep 17 00:00:00 2001 From: christinestraub Date: Thu, 26 Dec 2024 16:19:13 -0800 Subject: [PATCH] test:fix test_dockerfile error --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8b56bb5ef9..da94c9ba8e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,9 +10,9 @@ COPY test_unstructured test_unstructured COPY example-docs example-docs RUN chown -R notebook-user:notebook-user /app && \ - apk add font-ubuntu git && \ - fc-cache -fv && \ - ln -s /usr/bin/python3.11 /usr/bin/python3 + apk add font-ubuntu git && \ + fc-cache -fv && \ + [ -e /usr/bin/python3 ] || ln -s /usr/bin/python3.11 /usr/bin/python3 USER notebook-user