Skip to content

Commit 6ea4cdf

Browse files
author
wwanarif
committed
fix trivy report for studio-backend and app-backend
Signed-off-by: wwanarif <[email protected]>
1 parent 201e709 commit 6ea4cdf

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

app-backend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
FROM python:3.11-slim
22

33
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
4+
libsqlite3-0=3.40.1-2+deb12u1 \
45
libgl1-mesa-glx=22.3.6-1+deb12u1 \
56
libjemalloc-dev=5.3.0-1 \
67
git=1:2.39.5-0+deb12u1 && \

studio-backend/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ WORKDIR /usr/src/
77
# Copy the current directory contents into the container at /usr/src/app
88
COPY app /usr/src/app
99

10+
# Upgrade libsqlite3 to a safe version
11+
RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
12+
libsqlite3-0=3.40.1-2+deb12u1 && \
13+
rm -rf /var/lib/apt/lists/*
14+
1015
# Upgrade setuptools to a safe version and install any needed packages specified in requirements.txt
1116
RUN pip install --no-cache-dir --upgrade pip==24.3.1 setuptools==75.3.0 && \
1217
pip install --no-cache-dir -r /usr/src/app/requirements.txt

studio-backend/app/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ uvicorn==0.30.6
33
kubernetes==30.1.0
44
requests==2.32.3
55
pydantic==1.10.18
6-
starlette==0.38.6
6+
starlette==0.40.0
77
websockets==10.3

0 commit comments

Comments
 (0)