Skip to content

Commit 97e6070

Browse files
committed
fix cve issues
Signed-off-by: wwanarif <[email protected]>
1 parent 85de57a commit 97e6070

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

app-backend/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ WORKDIR /home/user/
1414
RUN git clone --depth 1 https://github.com/opea-project/GenAIComps.git
1515

1616
WORKDIR /home/user/GenAIComps
17-
RUN pip install --no-cache-dir --upgrade pip==24.3.1 setuptools==75.3.0 && \
18-
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt
17+
RUN pip install --no-cache-dir --upgrade pip==24.3.1 setuptools==78.1.1 && \
18+
pip install --no-cache-dir -r /home/user/GenAIComps/requirements.txt && \
19+
pip install --no-cache-dir --upgrade mcp==1.10.0 pillow==11.3.0
1920

2021
COPY ./templates/microservices/* /home/user/templates/microservices/
2122
COPY ./megaservice.py /home/user/megaservice.py

studio-backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
1313
rm -rf /var/lib/apt/lists/*
1414

1515
# Upgrade setuptools to a safe version and install any needed packages specified in requirements.txt
16-
RUN pip install --no-cache-dir --upgrade pip==24.3.1 setuptools==75.3.0 && \
16+
RUN pip install --no-cache-dir --upgrade pip==24.3.1 setuptools==78.1.1 && \
1717
pip install --no-cache-dir -r /usr/src/app/requirements.txt
1818

1919
# Define environment variable

studio-frontend/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@
5858
"sqlite3"
5959
],
6060
"overrides": {
61-
"set-value": "^3.0.3"
61+
"set-value": "^3.0.3",
62+
"form-data": "4.0.4"
6263
}
6364
},
6465
"engines": {
@@ -79,7 +80,8 @@
7980
"esbuild": ">=0.25.0",
8081
"cross-spawn": ">=7.0.5",
8182
"solid-js": ">=1.9.4",
82-
"tar-fs": ">=3.0.8"
83+
"tar-fs": ">=3.0.8",
84+
"form-data": "4.0.4"
8385
},
8486
"eslintIgnore": [
8587
"**/dist",

0 commit comments

Comments
 (0)