Skip to content

Commit

Permalink
hardcoding env files
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagenrique committed Feb 9, 2024
1 parent f9d0910 commit d24d8f2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions vre-singleuser-py311/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ RUN chown -R $NB_UID /etc/ipython
ENV JUPYTER_ENABLE_LAB=yes

# Installing WDF-python env

## HARDCODING ENVIRONMENT VARIABLES
## not using venv, instead we use the base conda env and fixing env vars
ENV LD_LIBRARY_PATH="/opt/conda/lib:$LD_LIBRARY_PATH"
ENV PYTHONPATH="/opt/conda/lib/python3.9:/opt/conda/lib/python3.9/site-packages:$PYTHONPATH"

## While the installation of pst4 and the use of `venv`, it is needed the `ENV_ROOT` env var
## > echo $ENV_ROOT/
## > /opt/venv/
ENV ENV_ROOT="/opt/conda"


COPY requirements.txt .
RUN pip3 install -r requirements.txt

Expand Down

0 comments on commit d24d8f2

Please sign in to comment.