diff --git a/README.md b/README.md index 9463f69..d7d48fb 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,9 @@ For installing Docker, please check out [Installing Docker Desktop on Windows](h For installing Podman, please check out [Podman Desktop Download](https://podman-desktop.io/downloads) and follow the Podman's installation instructions to properly set up both Podman and [Podman Compose](https://podman-desktop.io/docs/compose/setting-up-compose). +> [!IMPORTANT] +> You need to copy env.sample file to .env and set the default passwords for the services listed in that file. +> On Mac, you may have to open a terminal, run command "cp env.sample .env" and then "nano .env" to be able to edit the file. > [!NOTE] > If you just want to install the Streamlit Apps without installing the whole OllaLab stack, diff --git a/jupyter_lab/Dockerfile b/jupyter_lab/Dockerfile index cee0f86..17f2b32 100644 --- a/jupyter_lab/Dockerfile +++ b/jupyter_lab/Dockerfile @@ -14,11 +14,12 @@ WORKDIR /home/notebooks COPY ./requirements.txt . # Install dependencies +RUN pip install -U pip RUN pip install --upgrade --no-cache-dir -r ./requirements.txt # Add a JupyterLab extension for version control if needed -RUN jupyter labextension install @jupyterlab/git -RUN python -m spacy download en_core_web_sm +# RUN jupyter labextension install @jupyterlab/git +# RUN python -m spacy download en_core_web_sm # Switch back to the notebook user USER ${NB_UID} diff --git a/jupyter_lab/requirements.txt b/jupyter_lab/requirements.txt index 220ebd2..3fded5e 100644 --- a/jupyter_lab/requirements.txt +++ b/jupyter_lab/requirements.txt @@ -7,16 +7,16 @@ transformers peft accelerate duckdb -autogluon +#autogluon autoviz python-dateutil lxml pypdf2 python-docx openpyxl -tesseract -textblob -gensim -cryptography -spacy +#tesseract +#textblob +#gensim +#cryptography +#spacy # Add other necessary packages \ No newline at end of file diff --git a/streamlit_app/Dockerfile b/streamlit_app/Dockerfile index 9e90df7..d1acd92 100644 --- a/streamlit_app/Dockerfile +++ b/streamlit_app/Dockerfile @@ -9,8 +9,9 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* COPY requirements.txt ./ +RUN pip install -U pip RUN pip install --no-cache-dir -r requirements.txt -RUN python -m spacy download en_core_web_sm +# RUN python -m spacy download en_core_web_sm COPY app/ ./