mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-05-10 03:40:35 +02:00
Final Backend CVEs (#900)
This commit is contained in:
parent
2e6be57880
commit
13c536c033
@ -12,7 +12,7 @@ RUN echo "DANSWER_VERSION: ${DANSWER_VERSION}"
|
|||||||
# zip for Vespa step futher down
|
# zip for Vespa step futher down
|
||||||
# ca-certificates for HTTPS
|
# ca-certificates for HTTPS
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get install -y cmake libpq-dev curl zip ca-certificates && \
|
apt-get install -y cmake curl zip ca-certificates && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt && \
|
|||||||
# xserver-common and xvfb included by playwright installation but not needed after
|
# xserver-common and xvfb included by playwright installation but not needed after
|
||||||
# perl-base is part of the base Python Debian image but not needed for Danswer functionality
|
# perl-base is part of the base Python Debian image but not needed for Danswer functionality
|
||||||
# perl-base could only be removed with --allow-remove-essential
|
# perl-base could only be removed with --allow-remove-essential
|
||||||
RUN apt-get remove -y --allow-remove-essential cmake perl-base xserver-common xvfb && \
|
RUN apt-get remove -y --allow-remove-essential perl-base xserver-common xvfb cmake libldap-2.5-0 libldap-2.5-0 && \
|
||||||
apt-get autoremove -y && \
|
apt-get autoremove -y && \
|
||||||
rm -rf /var/lib/apt/lists/* && \
|
rm -rf /var/lib/apt/lists/* && \
|
||||||
rm /usr/local/lib/python3.11/site-packages/tornado/test/test.key
|
rm /usr/local/lib/python3.11/site-packages/tornado/test/test.key
|
||||||
|
@ -32,7 +32,6 @@ openai==1.3.5
|
|||||||
oauthlib==3.2.2
|
oauthlib==3.2.2
|
||||||
playwright==1.40.0
|
playwright==1.40.0
|
||||||
psutil==5.9.5
|
psutil==5.9.5
|
||||||
psycopg2==2.9.9
|
|
||||||
psycopg2-binary==2.9.9
|
psycopg2-binary==2.9.9
|
||||||
pycryptodome==3.19.0
|
pycryptodome==3.19.0
|
||||||
pydantic==1.10.7
|
pydantic==1.10.7
|
||||||
|
Loading…
x
Reference in New Issue
Block a user