diff --git a/Dockerfile b/Dockerfile index d35246e..242c200 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,11 +5,13 @@ FROM rocker/binder:4.3.2 ENV VIRTUAL_ENV=/opt/venv ENV PATH=${VIRTUAL_ENV}/bin:${PATH} -RUN id && ls -la ${VIRTUAL_ENV} +USER root COPY requirements.txt /tmp/requirements.txt RUN pip install --no-cache -r /tmp/requirements.txt +USER ${NB_USER} + # Install learnr and other requested packages in https://2i2c.freshdesk.com/a/tickets/741 # mosaic installed per https://2i2c.freshdesk.com/a/tickets/973 RUN install2.r --skipinstalled \