Skip to content

Commit

Permalink
Use venv in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelasco committed May 18, 2021
1 parent 6be6ded commit dd3de2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ RUN curl -L "http://download.sr-support.com/software/dists/SRResearch/SRResearch
&& apt-get install -y eyelink-display-software \
&& apt-get clean -y && apt-get autoclean -y && apt-get autoremove -y

# Pip install prefers that you install packages using venv:
RUN pip install --upgrade virtualenv
ENV VIRTUAL_ENV=/opt/venv
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python3 -m venv $VIRTUAL_ENV \
&& pip install --upgrade pip

# install required python packages for edf2bids:
RUN pip install cython \
pandas \
Expand Down

0 comments on commit dd3de2c

Please sign in to comment.