Skip to content

Commit

Permalink
Fix Arm64 issue fr (Josh-XT#377)
Browse files Browse the repository at this point in the history
Fixes error RuntimeError: Unable to initialize chroma client: /usr/lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

Signed-off-by: Bullseyecowbelly <[email protected]>
  • Loading branch information
birdup000 authored May 18, 2023
1 parent ec4f46e commit 27c9c94
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docker/Dockerfile.streamlit
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
ARG FROM_IMAGE

FROM ${FROM_IMAGE}

RUN apt-get update && apt-get upgrade -y

RUN apt-get install -y git build-essential

RUN pip install --no-cache-dir -r requirements.txt

RUN pip uninstall protobuf -y

RUN pip install protobuf==3.20.*

ENV PATH="/usr/local/bin:$PATH"

EXPOSE 8501

CMD streamlit run streamlit.py

0 comments on commit 27c9c94

Please sign in to comment.