Skip to content

Commit

Permalink
activate base before running pip
Browse files Browse the repository at this point in the history
  • Loading branch information
AnushaPB committed Sep 19, 2024
1 parent fb6a872 commit cf6bb0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ USER ${NB_UID}
RUN micromamba install -y -n base -c conda-forge msprime geopandas rasterio bitarray pip && \
micromamba clean --all --yes

# Install additional Python packages using pip
RUN pip install --upgrade NLMpy geonomics
# Activate the base environment and install additional Python packages using pip
RUN /opt/conda/bin/conda init bash && \
echo "source activate base" > ~/.bashrc && \
/bin/bash -c "source ~/.bashrc && pip install --upgrade NLMpy geonomics"

# Expose port 8888 for Jupyter Notebook
EXPOSE 8888
Expand Down

0 comments on commit cf6bb0b

Please sign in to comment.