Skip to content

Commit

Permalink
LLM support
Browse files Browse the repository at this point in the history
  • Loading branch information
llaumgui authored Sep 22, 2023
1 parent 4e75313 commit 7306484
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
11 changes: 6 additions & 5 deletions 8.2-nextcloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,22 @@ COPY supervisor/*.conf /etc/supervisor
COPY supervisor/*.sh /


# ----------------------------------------------------- Install Search and cron utilities
# --------------------------------------------- Install Search and LLM utilities
RUN apt-get update && apt-get install --no-install-recommends -y \
# Install tesseract and ocrmypdf for OCR \
tesseract-ocr \
tesseract-ocr-fra \
tesseract-ocr-eng \
ocrmypdf && \
ocrmypdf \
# Install Python for Local Large language model \
python-is-python3 \
python3-venv && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*


# ------------------------------------------------------------ Install utilities
# ------------------------------------------------------- Install misc utilities
RUN apt-get update && apt-get install --no-install-recommends -y \
# Misc tools \
bzip2 \
curl \
ffmpeg \
Expand All @@ -60,7 +62,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
libpng16-16 \
libzip4 \
procps \
python-is-python3 \
unzip \
wget && \
apt-get clean && \
Expand Down
7 changes: 4 additions & 3 deletions 8.2-nextcloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ PHP 8.2-nextcloud image:
* Install [Tesseract](https://github.com/tesseract-ocr/tesseract) and [OCRmyPDF](https://ocrmypdf.readthedocs.io/en/latest/) for OCR.
* Run `occ:fulltextsearch:live` to auto index new contents.
* Additionals PHP extensions:
* intl
* intl.
* Additionals binaries:
* GIT
* [php-fpm-healthcheck](https://github.com/renatomefi/php-fpm-healthcheck)
* GIT.
* [php-fpm-healthcheck](https://github.com/renatomefi/php-fpm-healthcheck).
* Python and python3-venv for [Local Large language model](https://apps.nextcloud.com/apps/llm).
* Some configuration:
* A dedicated php-cli.ini.

Expand Down

0 comments on commit 7306484

Please sign in to comment.