Skip to content

Commit 8720edd

Browse files
committed
add PKG_CONFIG_PATH for opencv
1 parent 6fbdede commit 8720edd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ RUN cd ~/local/share &&\
4444
cp tessdata-3.04.00/eng* tesseract-ocr/ &&\
4545
rm -rf 3.04.00.tar.gz tessdata-3.04.00
4646

47+
ENV PKG_CONFIG_PATH $PKG_CONFIG_PATH:/app/.heroku/opencv/lib/pkgconfig
4748
ENV PATH $PATH:/root/local/bin
48-
ENV TESSDATA_PREFIX=/root/local/share/tesseract-ocr/
49+
ENV TESSDATA_PREFIX /root/local/share/tesseract-ocr/
4950

5051
ONBUILD ADD package.json /app/user/
5152
ONBUILD RUN npm install

0 commit comments

Comments
 (0)