Skip to content

Commit dd6b44c

Browse files
fix: updated template
1 parent 831f940 commit dd6b44c

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

cookiecutter.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"project_description": "A short description of the project.",
66
"author_name": "Kognitos",
77
"initial_version": "0.1.0",
8+
"bdk_runtime_version": "latest",
89
"__book_class_name": "{{ cookiecutter.project_name.replace(' ', '_').replace('-', '_') | remove_book_prefix() | split_by('_') | select() | soft_capitalize() | join('') | ensure_ends_with_book() }}",
910
"__base_url_name": "{{ cookiecutter.project_slug.upper() }}_BASE_URL",
1011
"_extensions": ["custom_filters.CustomFiltersExtension"]

{{cookiecutter.project_folder_name}}/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# BDK Runtime Version
2-
ARG BDK_RUNTIME_IMAGE_URI="kognitosinc/bdk:latest"
2+
ARG BDK_RUNTIME_IMAGE_URI="kognitosinc/bdk:{{ cookiecutter.bdk_runtime_version }}"
33

44
# BDK Runtime Base Image
55
FROM ${BDK_RUNTIME_IMAGE_URI} AS builder

{{cookiecutter.project_folder_name}}/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ authors = ["{{ cookiecutter.author_name }}"]
66
readme = "README.md"
77
packages = [{ include = "{{ cookiecutter.project_slug }}", from = "src" }]
88

9+
[environment]
10+
bdk_runtime_version = "{{ cookiecutter.bdk_runtime_version }}"
11+
912
[tool.pytest.ini_options]
1013
pythonpath = ["src"]
1114

0 commit comments

Comments
 (0)