Commit f790d132 authored by Pablo Panero's avatar Pablo Panero
Browse files

docker: add venv vars to fix pipenv ro home dir

parent 35142e2c
......@@ -18,6 +18,8 @@ USER invenio
# CERN Search installation
WORKDIR /${WORKING_DIR}/src
ADD . /${WORKING_DIR}/src
ENV PIPENV_VENV_IN_PROJECT="/opt/invenio/src/"
ENV PIPENV_CACHE_DIR="/opt/invenio/src/"
RUN if [ -n "${DEVEL-}" ]; then pipenv install -r requirements-devel.txt; else pipenv install -r requirements.txt; fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment