Skip to content

Commit 225499e

Browse files
committed
fix cve issues and spelling
Signed-off-by: wwanarif <[email protected]>
1 parent 1e0768e commit 225499e

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
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-backend/app/services/clickdeploy_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def click_deploy_pipeline(hostname, username, pipeline_flow, chatflow_id):
115115
start_cmd = f"cd {remote_compose_dir} && nohup docker compose up -d & sleep 0.1"
116116
_, stdout, stderr = ssh.exec_command(start_cmd, get_pty=True)
117117

118-
# Read successfully the output
118+
# Read the output successfully
119119
stdout_output = stdout.read().decode().strip()
120120
stderr_output = stderr.read().decode().strip()
121121
start_exit_status = stdout.channel.recv_exit_status()
@@ -315,7 +315,7 @@ def check_deployment_status(remote_host, remote_user, compose_dir="genaistudio-c
315315
# Check if compose.yaml exists
316316
_, stdout_compose, _ = ssh_check.exec_command(f"ls {compose_dir}/nohup.out")
317317
if stdout_compose.channel.recv_exit_status() != 0:
318-
return {"status": "In Progress", "message": "Stopping existing servicess...", "logs": ['Stopping existing services...']}
318+
return {"status": "In Progress", "message": "Stopping existing services...", "logs": ['Stopping existing services...']}
319319

320320
# Get the number of services defined in compose.yaml
321321
_, stdout_num, stderr_num = ssh_check.exec_command(f"cd {compose_dir} && docker compose config --services | wc -l")

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)