kopia lustrzana https://github.com/jupyterhub/repo2docker
feat: respect the root folder configured when looking for ignore files
See the design chapter for more details.pull/1205/head
rodzic
a51235f9a5
commit
09e503c4e6
|
@ -612,6 +612,7 @@ class BuildPack:
|
||||||
exclude = []
|
exclude = []
|
||||||
|
|
||||||
for ignore_file_name in [".dockerignore", ".containerignore"]:
|
for ignore_file_name in [".dockerignore", ".containerignore"]:
|
||||||
|
ignore_file_name = self.binder_path(ignore_file_name)
|
||||||
if os.path.exists(ignore_file_name):
|
if os.path.exists(ignore_file_name):
|
||||||
with open(ignore_file_name) as ignore_file:
|
with open(ignore_file_name) as ignore_file:
|
||||||
cleaned_lines = [
|
cleaned_lines = [
|
||||||
|
|
Ładowanie…
Reference in New Issue