We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 501b552 commit a66035bCopy full SHA for a66035b
elasticdl_client/api.py
@@ -53,7 +53,9 @@ def init_zoo(args):
53
--extra-index-url={{ EXTRA_PYPI_INDEX }}
54
55
RUN pip install elasticdl --extra-index-url={{ EXTRA_PYPI_INDEX }}
56
-ENV PATH /usr/local/lib/python3.6/site-packages/elasticdl/go/bin:$PATH
+RUN /bin/bash -c\
57
+ 'PYTHON_PKG_PATH=$(pip3 show elasticdl | grep "Location:" | cut -d " " -f2);\
58
+ echo "PATH=${PYTHON_PKG_PATH}/elasticdl/go/bin:$PATH" >> /root/.bashrc'
59
60
COPY . /model_zoo
61
RUN pip install -r /model_zoo/requirements.txt\
0 commit comments