Created
February 13, 2020 19:25
-
-
Save peterfoley/bd3bd05f8e49843bea87bb48bc57c6ff to your computer and use it in GitHub Desktop.
Install causalml from source after installing requirements from conda-forge
This file contains hidden or 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
ARG BASE_IMAGE=continuumio/miniconda3 | |
FROM ${BASE_IMAGE} | |
ARG BASE_IMAGE | |
RUN git clone https://github.com/uber/causalml.git | |
WORKDIR causalml | |
RUN conda create -n my_env python=3.6 | |
RUN conda install -n my_env -c conda-forge --file requirements.txt | |
# miniconda base doesn't have headers or gcc | |
RUN apt-get update && apt-get install -y gcc | |
SHELL ["conda", "run", "-n", "my_env", "/bin/bash", "-c"] | |
RUN pip install -e . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment