fix docker image

This commit is contained in:
aiyueqi
2025-08-27 11:13:53 +08:00
parent 525829fb6a
commit c8bcb7c23a
2 changed files with 2 additions and 3 deletions

View File

@@ -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"]

View File

@@ -15,7 +15,6 @@ headers = {
try:
response = requests.post(
url,
params=params,
json=body,
headers=headers
)