exasol / ai-lab

Development environment for data science developers
MIT License
3 stars 0 forks source link

Add jupyterenv to PATH #273

Closed ckunki closed 3 weeks ago

ckunki commented 4 months ago

Add /home/jupyter/jupyterenv/bin/ to Environment variable PATH to make calling pip3 easier.

stackoverflow/27093612 suggests adding the following line to Dockerfile.

ENV PATH="$PATH:$VIRTUAL_ENV/bin"

... and advises to not use curly braces like ~${PATH}~ as this would use the path variable from the host system rather than from the OS inside the Docker container.

See also https://github.com/exasol/ai-lab/issues/77 Make systemd call entrypoint.py

Connecting an EC2 instance of the AI-Lab with an instance of Exasol SaaS DB showed The Jupyter Notebook in the EC2 instance could