diff --git a/Dockerfile b/Dockerfile index 3188ed54..0d08e17e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,7 +24,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \ && apt-get update \ && apt-get install -y google-chrome-stable \ - && rm -rf /var/lib/apt/lists/* + && rm -rf /var/lib/apt/lists/* \ + && apt install chromium-chromedriver -y + +# Install spacy library using pip +RUN pip install spacy # Set display port and dbus env to avoid hanging ENV DISPLAY=:99 diff --git a/requirements.txt b/requirements.txt index a776fe39..db5d743f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,6 @@ bs4==0.0.2 fastapi==0.111.0 html2text==2024.2.26 httpx==0.27.0 -lazy_import==0.2.2 litellm==1.37.11 nltk==3.8.1 pydantic==2.7.1