Skip to content
Snippets Groups Projects
Commit f774944b authored by Nicolas M. Thiéry's avatar Nicolas M. Thiéry
Browse files

Fixed configuration file installation

The file from here take precedence over the files from elsewhere.
parent 03ade092
No related branches found
No related tags found
No related merge requests found
...@@ -2,12 +2,14 @@ ...@@ -2,12 +2,14 @@
FROM mambaorg/micromamba:latest FROM mambaorg/micromamba:latest
COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder
# Install files
RUN cp -ra /tmp/binder/install_files/* /opt/conda/
# Install conda packages # Install conda packages
RUN cd /tmp/binder && \ RUN cd /tmp/binder && \
micromamba install -y -n base -f environment.yml && \ micromamba install -y -n base -f environment.yml && \
micromamba clean --all --yes micromamba clean --all --yes
# Install configuration files
# After installing the packages to make sure these
# take precedence
RUN cp -rav /tmp/binder/install_files/* /opt/conda/
RUN rm -rf /tmp/binder RUN rm -rf /tmp/binder
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment