Skip to content

Commit

Permalink
add path to libGL.so.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MthwRobinson committed Sep 19, 2024
1 parent 7084b28 commit 6b33b23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ COPY test_unstructured test_unstructured
COPY example-docs example-docs

RUN chown -R notebook-user:notebook-user /app && \
apk add mesa-dev font-ubuntu git && \
apk add font-ubuntu git && \
fc-cache -fv && \
ln -s /usr/bin/python3.11 /usr/bin/python3

USER notebook-user

ENV LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib"

RUN find requirements/ -type f -name "*.txt" -exec pip3.11 install --no-cache-dir --user -r '{}' ';' && \
python3.11 -c "from unstructured.nlp.tokenize import download_nltk_packages; download_nltk_packages()" && \
python3.11 -c "from unstructured.partition.model_init import initialize; initialize()" && \
Expand Down

0 comments on commit 6b33b23

Please sign in to comment.