Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
f790d132
Commit
f790d132
authored
Feb 07, 2019
by
Pablo Panero
Browse files
docker: add venv vars to fix pipenv ro home dir
parent
35142e2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
f790d132
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment