Succeed even if no requirements.txt is present

Will just get default jupyter installation + venv
pull/6/head
yuvipanda 2017-04-05 11:49:46 -07:00
rodzic 90b8c3d601
commit 66a79d2aa6
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -23,4 +23,6 @@ echo "---> Installing application source..."
cp -Rf /tmp/src/. ./
echo "---> Building application from source..."
${APP_DIR}/venv/bin/pip install --no-cache-dir -r requirements.txt
if [ -f requirements.txt ]; then
${APP_DIR}/venv/bin/pip install --no-cache-dir -r requirements.txt
fi