Skip to content

Commit

Permalink
Merge pull request #14 from 2i2c-org/set-venv
Browse files Browse the repository at this point in the history
Explicitly set VIRTUAL_ENV related env vars
  • Loading branch information
yuvipanda authored Dec 29, 2023
2 parents 07ef69e + 7594661 commit 7ef338c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
FROM rocker/binder:4.3.2

# Needed until https://github.com/rocker-org/rocker-versioned2/pull/740 is
# merged
ENV VIRTUAL_ENV=/opt/venv
ENV PATH=${VIRTUAL_ENV}/bin:${PATH}

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 \
Expand Down

0 comments on commit 7ef338c

Please sign in to comment.