From c8bcb7c23ad9e7b99e654bd17db6866dcf608332 Mon Sep 17 00:00:00 2001 From: aiyueqi Date: Wed, 27 Aug 2025 11:13:53 +0800 Subject: [PATCH] fix docker image --- Dockerfile | 4 ++-- test.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index a6a1092..ff54d54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.1-x86-ubuntu20.04-py3.10-poc-llm-infer:20250731115755 +FROM git.modelhub.org.cn:9443/enginex-iluvatar/bi100-3.2.1-x86-ubuntu20.04-py3.10-poc-llm-infer:v1.2.2 WORKDIR /workspace @@ -8,4 +8,4 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua ADD . /workspace EXPOSE 80 -CMD ["sh","-c","python3 fastapi_translate.py"] +CMD ["sh", "-c", "python3 fastapi_translate.py"] diff --git a/test.py b/test.py index 0ec91d5..2f4d267 100644 --- a/test.py +++ b/test.py @@ -15,7 +15,6 @@ headers = { try: response = requests.post( url, - params=params, json=body, headers=headers )