Skip to content

Commit

Permalink
fix: micromamba option to init shell using -r instead of -p
Browse files Browse the repository at this point in the history
  • Loading branch information
Syakyr committed Oct 2, 2024
1 parent 35415d8 commit ba230ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ COPY --chown=${NON_ROOT_USER}:${NON_ROOT_GID} ${REPO_DIR} {{cookiecutter.repo_na
RUN pip install -r {{cookiecutter.repo_name}}/requirements.txt

# Use this if deployed outside RunAI
#RUN micromamba shell init -s bash -p ~/micromamba
#RUN micromamba shell init -s bash -r ${HOME_DIR}/micromamba
#RUN micromamba install python=3.12.4 -c defaults -n base -y
#RUN micromamba run -n base pip install -r {{cookiecutter.repo_name}}/requirements.txt
#RUN echo 'alias python="micromamba run -n base python"' >> "${HOME_DIR}/.bashrc"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
+RUN pip install -r {{cookiecutter.repo_name}}/pytorch-gpu-requirements.txt

# Use this if deployed outside RunAI
#RUN micromamba shell init -s bash -p ~/micromamba
#RUN micromamba shell init -s bash -r ${HOME_DIR}/micromamba
#RUN micromamba install python=3.12.4 -c defaults -n base -y
#RUN micromamba run -n base pip install -r {{cookiecutter.repo_name}}/requirements.txt
+#RUN micromamba run -n base pip install -r {{cookiecutter.repo_name}}/pytorch-gpu-requirements.txt
Expand Down

0 comments on commit ba230ba

Please sign in to comment.