diff options
author | qingfengfenga <41416092+qingfengfenga@users.noreply.github.com> | 2023-06-08 15:58:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-08 00:58:53 -0700 |
commit | 8fc8179919a11738910db07a800f2b176f8adf09 (patch) | |
tree | f38a4f9c95d1dc01da7ff6abcf55968b81c7ddb7 | |
parent | b50b570ed9d699d3d126d72fc02de92926bcd937 (diff) |
Add llama.cpp docker support for non-latin languages (#1673)
* Modify Dockerfile default character set to improve compatibility (#1673)
-rw-r--r-- | .devops/full.Dockerfile | 2 | ||||
-rw-r--r-- | .devops/main.Dockerfile | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.devops/full.Dockerfile b/.devops/full.Dockerfile index 01b3111..687628b 100644 --- a/.devops/full.Dockerfile +++ b/.devops/full.Dockerfile @@ -16,4 +16,6 @@ COPY . . RUN make +ENV LC_ALL=C.utf8 + ENTRYPOINT ["/app/.devops/tools.sh"] diff --git a/.devops/main.Dockerfile b/.devops/main.Dockerfile index fc34a0c..3ab1dec 100644 --- a/.devops/main.Dockerfile +++ b/.devops/main.Dockerfile @@ -15,4 +15,6 @@ FROM ubuntu:$UBUNTU_VERSION as runtime COPY --from=build /app/main /main +ENV LC_ALL=C.utf8 + ENTRYPOINT [ "/main" ] |