Skip to content

Commit

Permalink
Merge pull request #185 from runpod/clone-template
Browse files Browse the repository at this point in the history
feat: match template structure
  • Loading branch information
justinmerrell authored Oct 28, 2023
2 parents 2190a85 + 4bac317 commit 6c750f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runpod/cli/groups/project/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def create_new_project(project_name, runpod_volume_id, python_version, # pylint:
project_table = table()
project_table.add("uuid", project_uuid)
project_table.add("name", project_name)
project_table.add("base_image", "runpod/base:0.0.4")
project_table.add("base_image", "runpod/base:0.1.0")
project_table.add("gpu_types", [
"NVIDIA RTX A4000", "NVIDIA RTX A4500", "NVIDIA RTX A5000",
"NVIDIA GeForce RTX 3090", "NVIDIA RTX A6000"])
Expand All @@ -76,8 +76,8 @@ def create_new_project(project_name, runpod_volume_id, python_version, # pylint:

runtime_table = table()
runtime_table.add("python_version", python_version)
runtime_table.add("handler_path", "handler.py")
runtime_table.add("requirements_path", "requirements.txt")
runtime_table.add("handler_path", "src/handler.py")
runtime_table.add("requirements_path", "builder/requirements.txt")
toml_config.add("runtime", runtime_table)

with open(os.path.join(project_folder, "runpod.toml"), 'w', encoding="UTF-8") as config_file:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Similar to .gitignore
# Matches will not be synce to the development pod or cause the development pod to reload.

0 comments on commit 6c750f6

Please sign in to comment.