Skip to content
Snippets Groups Projects
Dockerfile-CI 451 B
Newer Older
Nicolas M. Thiéry's avatar
Nicolas M. Thiéry committed
# A docker file for building the image on GitLab's CI
FROM mambaorg/micromamba:latest
COPY --chown=$MAMBA_USER:$MAMBA_USER . /tmp/binder
RUN cd /tmp/binder && \
    micromamba install -y -n base -f environment.yml && \
    micromamba clean --all --yes && \
    /usr/local/bin/_entrypoint.sh pip cache purge && \
    cp mydocker_entrypoint.sh /opt/conda/bin/mydocker_entrypoint.sh && \
    cp -ra install_file/* /opt/conda/
    
RUN rm -rf /tmp/binder