diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 72bd5c0da..a5089a41b 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -69,7 +69,7 @@ def remove_docker_files(): def remove_nginx_docker_files(): - Path("compose/local/nginx").unlink() + shutil.rmtree(Path("compose", "production", "nginx")) def remove_utility_files():