chore: Update Dockerfile to install chromium-chromedriver and spacy library
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user