I have to set export PATH=~/.local/bin:$PATH
. As long I do it via docker exec -it <container> bash
manually it works. However, I tried to automate it in my .dockerfile
with:
FROM jupyter/scipy-notebook
RUN conda install --yes -c conda-forge fbprophet
ENV PATH="~/.local/bin:${PATH}"
RUN pip install awscli --upgrade --user
And it seems like ENV PATH="~/.local/bin:${PATH}"
is not having the same effect as I receive that WARNING here. Do you see what I am doing wrong?
WARNING: The scripts pyrsa-decrypt, pyrsa-decrypt-bigfile, pyrsa-encrypt, pyrsa-encrypt-bigfile, pyrsa-keygen, pyrsa-priv2pub, pyrsa-sign and pyrsa-verify are installed in '/home/jovyan/.local/bin' which is not on PATH.