Skip to content

Commit 9a4d62a

Browse files
committed
Fix docker build
1 parent a20a1bd commit 9a4d62a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get install -y \
2020
libpq-dev postgresql-client postgresql-client-common python3-psycopg2 \
2121
libgl1-mesa-dev libgtk2.0-dev libatlas-base-dev \
2222
tesseract-ocr tesseract-ocr-all \
23-
libopenblas-dev build-essential \
23+
libopenblas-dev cmake \
2424
&& localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8 \
2525
&& rm -rf /var/lib/apt/lists/*
2626

@@ -79,10 +79,10 @@ RUN ARCH=$(uname -m) && \
7979
COPY . /app/src
8080
RUN ARCH=$(uname -m) && \
8181
if [ "$ARCH" = "armv7l" ]; then \
82-
python3 -m pip install --break-system-packages --no-cache-dir numpy /app/src; \
82+
python3 -m pip install --break-system-packages --no-cache-dir /app/src; \
8383
else \
8484
python3 -m pip install --break-system-packages --no-cache-dir --extra-index-url https://www.piwheels.org/simple \
85-
numpy /app/src[ai]; \
85+
/app/src[ai]; \
8686
fi
8787

8888
# download and cache sentence transformer model

0 commit comments

Comments
 (0)