diff --git a/lib/custom_entrypoint.py b/lib/custom_entrypoint.py index 8d36a60..5ce8626 100644 --- a/lib/custom_entrypoint.py +++ b/lib/custom_entrypoint.py @@ -63,7 +63,7 @@ def cache_entrypoints(containers): else: valid_conf.append(True) for remaining_file in entrypoint_files: # We can remove files that are not needed anymore - os.remove(remaining_file) + os.remove(os.path.join(config.entrypoints_folder,remaining_file)) return valid_conf except Exception as e: return 'e' \ No newline at end of file