Created
March 18, 2020 20:26
-
-
Save lh3/a21197c513d1af5e736ae0e703f8c475 to your computer and use it in GitHub Desktop.
Tmp dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#creates a base image from condo | |
FROM continuumio/miniconda3 | |
SHELL ["/bin/bash", "-c"] | |
COPY environment.yml . | |
#run environment | |
#RUN conda env create -f environment.yml | |
RUN conda init bash | |
RUN echo "conda activate env" > ~/.bashrc | |
ENV PATH /opt/conda/envs/env/bin:$PATH | |
COPY INSTALLATION.sh . | |
#run INSTALLATION.sh to install dependencies in Docker | |
RUN chmod +x /INSTALLATION.sh && /INSTALLATION.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment