修复内存溢出问题并添加新的接口

This commit is contained in:
Kerry
2025-03-17 09:13:51 +08:00
parent d69f4ec92f
commit c5652e3768
3 changed files with 11 additions and 1 deletions

View File

@@ -3,6 +3,15 @@ FROM debian:bookworm-slim
# 设置工作目录
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
# RUN apt update
# RUN apt install -y gpg-agent wget
# RUN wget -O- https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null
# RUN echo "deb [signed-by=/usr/share/keyrings/oneapi-archive-keyring.gpg] https://apt.repos.intel.com/oneapi all main" | tee /etc/apt/sources.list.d/oneAPI.list
# RUN apt update
# RUN apt install -y intel-oneapi-mkl
# 复制可执行文件
COPY core /app/core
RUN chmod +x /app/core

View File

@@ -1,4 +1,4 @@
VERSION=1.0.4
VERSION=1.1.0
build:
cp ../MTranServerCore/dist/core ./core

View File

@@ -8,6 +8,7 @@ v1.1.0
- 修复部分标点符号会翻译成Unicode字符的问题
- 添加划词翻译插件支持
- 添加谷歌翻译兼容接口
- 修复内存溢出问题
v1.0.4