mirror of
https://github.com/xxnuo/MTranServer.git
synced 2026-09-03 06:35:20 +08:00
修复内存溢出问题并添加新的接口
This commit is contained in:
@@ -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
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
VERSION=1.0.4
|
||||
VERSION=1.1.0
|
||||
|
||||
build:
|
||||
cp ../MTranServerCore/dist/core ./core
|
||||
|
||||
@@ -8,6 +8,7 @@ v1.1.0
|
||||
- 修复部分标点符号会翻译成Unicode字符的问题
|
||||
- 添加划词翻译插件支持
|
||||
- 添加谷歌翻译兼容接口
|
||||
- 修复内存溢出问题
|
||||
|
||||
v1.0.4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user