diff --git a/jukes-micromamba/Dockerfile b/jukes-micromamba/Dockerfile index cd40fdb..a69e0fa 100644 --- a/jukes-micromamba/Dockerfile +++ b/jukes-micromamba/Dockerfile @@ -8,7 +8,8 @@ USER $MAMBA_USER RUN micromamba create -n cautorift -c conda-forge python autorift=1.1.0 \ notebook matplotlib pandas opencv rasterio && \ micromamba clean --all --yes -ENV AUTORIFT=opt/conda/envs/cautorift/lib/python3.9/site-packages/autoRIFT/autoRIFT.py +ENV SITEPACKAGES=`micromamba run -n cautorift python -m site | grep -m 1 site-packages | sed "s/[,']//g"` +ENV AUTORIFT=${SITEPACKAGES}/autoRIFT/autoRIFT.py RUN sed -i 's/np.bool/bool/g' $AUTORIFT && \ sed -i 's/np.int/int/g' $AUTORIFT