diff --git a/Dockerfile b/Dockerfile index 8b30519..88b4728 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ RUN apk update && \ COPY environment.yml /environment.yml # Python 3.8.5 already installed along with recent version of pip # so remove Python and pip deps from environment.yml before installation -RUN sed -i "$(grep -n python>=3.7 /environment.yml | cut -f1 -d:)d" /environment.yml && \ - sed -i "$(grep -n pip= /environment.yml | cut -f1 -d:)d" /environment.yml +RUN sed -i "$(grep -n 'python>=3.7' /environment.yml | cut -f1 -d:)d" /environment.yml && \ + sed -i "$(grep -n 'pip=' /environment.yml | cut -f1 -d:)d" /environment.yml # Install the conda environment RUN conda env create --quiet -f /environment.yml && conda clean -a # Add conda installation dir to PATH (instead of doing 'conda activate')