Skip to content

Commit

Permalink
Adjust for better support with Podman 5 on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Cybonto committed Nov 5, 2024
1 parent 44cba43 commit 3879b2e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions jupyter_lab/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
12 changes: 6 additions & 6 deletions jupyter_lab/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion streamlit_app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/ ./

Expand Down

0 comments on commit 3879b2e

Please sign in to comment.