kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
76e55a3e98
|
@ -238,10 +238,11 @@ class Python2BuildPack(PythonBuildPack):
|
|||
def get_assemble_scripts(self):
|
||||
"""Return series of build-steps specific to this repository.
|
||||
"""
|
||||
requirements_file = self.binder_path('requirements.txt')
|
||||
return super().get_assemble_scripts() + [
|
||||
(
|
||||
'${NB_USER}',
|
||||
'pip2 install --no-cache-dir -r requirements.txt'
|
||||
'pip2 install --no-cache-dir -r "{}"'.format(requirements_file)
|
||||
)
|
||||
]
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue