Commit c6882e12 authored by Thomas Lips's avatar Thomas Lips
Browse files

more playing with conda

parent 4764c1e8
Pipeline #44774 passed with stage
in 4 minutes and 53 seconds
......@@ -21,7 +21,8 @@ RUN conda create --quiet --yes -p "${CONDA_DIR}/envs/${conda_env}" python=${py_v
# create Python 3.x environment and link it to jupyter
RUN "${CONDA_DIR}/envs/${conda_env}/bin/python" -m ipykernel install --user --name="${conda_env}"
# additional pip installs
COPY requirements.txt "/home/${NB_USER}/tmp/"
# prepend conda environment to path
ENV PATH "${CONDA_DIR}/envs/${conda_env}/bin:${PATH}"
RUN pip install --no-cache-dir -r "/home/${NB_USER}/tmp/requirements.txt"
\ No newline at end of file
# if you want this environment to be the default one, uncomment the following line:
ENV CONDA_DEFAULT_ENV ${conda_env}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment