Skip to content

Commit

Permalink
Add llama.cpp docker support for non-latin languages (ggerganov#1673)
Browse files Browse the repository at this point in the history
* Modify Dockerfile default character set to improve compatibility (ggerganov#1673)
  • Loading branch information
qingfengfenga authored Jun 8, 2023
1 parent b50b570 commit 8fc8179
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devops/full.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ COPY . .

RUN make

ENV LC_ALL=C.utf8

ENTRYPOINT ["/app/.devops/tools.sh"]
2 changes: 2 additions & 0 deletions .devops/main.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ FROM ubuntu:$UBUNTU_VERSION as runtime

COPY --from=build /app/main /main

ENV LC_ALL=C.utf8

ENTRYPOINT [ "/main" ]

0 comments on commit 8fc8179

Please sign in to comment.