Skip to content

Commit 5c3c5ab

Browse files
authored
Upgrade fast api and fix vulnerability (#145)
* Fix vulnerability * fixed comments
1 parent b98a52b commit 5c3c5ab

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ WORKDIR /code/frontend
2323
RUN pnpm install \
2424
&& pnpm build
2525

26+
27+
RUN apt-get purge -y krb5-user libkrb5-3 libkrb5support0 libgssapi-krb5-2
28+
RUN apt-get purge -y perl
29+
RUN apt-get update && apt-get install -y libcap2
30+
31+
2632
# Return to backend directory
2733
WORKDIR /code
2834

src/requirements.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
fastapi==0.111.0
1+
fastapi==0.115.13
22
uvicorn[standard]==0.29.0
33
gunicorn==23.0.0
44
azure-identity==1.19.0
@@ -13,3 +13,5 @@ azure-monitor-opentelemetry>=1.6.9
1313
azure-search-documents
1414
opentelemetry-sdk
1515
setuptools==80.9.0
16+
starlette>=0.40.0 # fix vulnerability
17+
jinja2 # new dependent of fastapi

0 commit comments

Comments
 (0)