Skip to content

Commit

Permalink
Explicitly set VIRTUAL_ENV related env vars
Browse files Browse the repository at this point in the history
Can be removed once rocker-org/rocker-versioned2#740
is merged
  • Loading branch information
yuvipanda committed Dec 28, 2023
1 parent e131ab9 commit 8064aac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
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}

COPY requirements.txt /tmp/requirements.txt
RUN pip install --no-cache -r /tmp/requirements.txt

Expand Down

0 comments on commit 8064aac

Please sign in to comment.