From 5d8f1579baf4ea1f10c60a3c8e4545ee348020ba Mon Sep 17 00:00:00 2001 From: Santiago Olivar Date: Fri, 16 Feb 2024 00:02:09 -0800 Subject: [PATCH] updating code blocks --- _posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md | 9 ++++----- _posts/2024-02-13-Repo-as-Importable-Package.md | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/_posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md b/_posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md index d9075e4..13f07af 100644 --- a/_posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md +++ b/_posts/2024-02-12-Simple-Dockerfile-for-Dev-Purposes.md @@ -29,12 +29,11 @@ RUN apt-get update && \ apt-get install -y git vim && \ rm -rf /var/lib/apt/lists/* -# Create and activate a Conda environment -RUN conda create --name myenv python=3.11 && \ - echo "conda activate myenv" >> ~/.bashrc +# Installs with Conda +RUN conda install numpy -# Install numpy in the Conda environment -RUN conda install -n myenv numpy +# Installs with pip +RUN pip install llama-index # SSH for GitHub authentication # keyscan is used to avoid manually veryfying GitHub hosts diff --git a/_posts/2024-02-13-Repo-as-Importable-Package.md b/_posts/2024-02-13-Repo-as-Importable-Package.md index c92d219..37c1e03 100644 --- a/_posts/2024-02-13-Repo-as-Importable-Package.md +++ b/_posts/2024-02-13-Repo-as-Importable-Package.md @@ -35,6 +35,6 @@ setup( 'Topic :: Software Development :: Libraries :: Python Modules', 'Operating System :: OS Independent', ], - package_dir={'': 'bubls'} + package_dir={'': 'bubls'} # Need it this way as we are installing it in editable mode ) ``` \ No newline at end of file