Commit e46f6d19 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

move setting the conda environment folder in the home folder to the end of the file

parent b1476e59
......@@ -51,9 +51,6 @@ RUN apt-get update && apt-get install -y --no-install-recommends --fix-missing \
# Add global bash profile
COPY profile.sh /etc/profile.d/
# Set the conda environment folder in the home folder
RUN conda config --system --add envs_dirs ~/.conda/envs
# Add environment files
RUN mkdir /environments
COPY python3.yml dev.yml /environments/
......@@ -106,6 +103,9 @@ RUN fix-permissions /opt/conda
# Cleanup all downloaded conda files
RUN conda clean --yes --all
# Set the conda environment folder in the home folder
RUN conda config --system --add envs_dirs ~/.conda/envs
# copy startup.sh script and set start-up command
COPY startup.sh /usr/local/bin
CMD ["startup.sh"]
......
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