From 5d5aa0bfbb778ce656545185eddcacc6c7a842c5 Mon Sep 17 00:00:00 2001 From: Alex Parsons Date: Wed, 21 Aug 2024 20:19:20 +0100 Subject: [PATCH] Remove references to dockerfiles --- hooks/post_gen_project.py | 2 +- hooks/pre_gen_project.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 9072dec..7b3793d 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -77,7 +77,7 @@ data_common_tag = b"data_common:sha-" + data_common_tag -for d in ["Dockerfile", "Dockerfile.dev"]: +for d in ["Dockerfile"]: with open(d, 'rb') as open_file: content = open_file.read() diff --git a/hooks/pre_gen_project.py b/hooks/pre_gen_project.py index 5e11c98..3e4eb78 100644 --- a/hooks/pre_gen_project.py +++ b/hooks/pre_gen_project.py @@ -86,7 +86,7 @@ def amend_file(filepath: Path, replace: dict): amend_file(Path(repo_dir, ".devcontainer", "devcontainer.json"), replace) amend_file(Path(repo_dir, "pyproject.toml"), replace) amend_file(Path(repo_dir, "docker-compose.yml"), replace) -amend_file(Path(repo_dir, "Dockerfile.dev"), replace) +# amend_file(Path(repo_dir, "Dockerfile.dev"), replace) amend_file(Path(repo_dir, "Dockerfile"), replace) amend_file(Path(repo_dir, "tests", "test_template_data_repo.py"), replace) amend_file(Path(repo_dir, "docs", "index.md"), replace)