diff --git a/example-2-redis/Dockerfile b/example-2-redis/Dockerfile index 178226d..2074187 100644 --- a/example-2-redis/Dockerfile +++ b/example-2-redis/Dockerfile @@ -1,5 +1,5 @@ FROM scratch COPY spin.toml spin.toml -COPY ./redis/runtime-config.toml ./runtime-config.toml +COPY ./runtime-config.toml ./runtime-config.toml COPY ./env_explorer.wasm ./env_explorer.wasm diff --git a/example-2-redis/env_explorer.wasm b/example-2-redis/env_explorer.wasm index d1e63fd..284ec67 100755 Binary files a/example-2-redis/env_explorer.wasm and b/example-2-redis/env_explorer.wasm differ diff --git a/example-2-redis/redis/runtime-config.toml b/example-2-redis/runtime-config.toml similarity index 100% rename from example-2-redis/redis/runtime-config.toml rename to example-2-redis/runtime-config.toml diff --git a/example-2-redis/spin.toml b/example-2-redis/spin.toml index 096c361..eff99e6 100644 --- a/example-2-redis/spin.toml +++ b/example-2-redis/spin.toml @@ -17,5 +17,6 @@ component = "env-explorer" source = "./env_explorer.wasm" key_value_stores = ["default"] environment = {"API_URL" = "http://envvars:8080/api", "HELLO" = "WORLD", "TEST_IS" = "Working" } +files = ["spin.toml", "runtime-config.toml", "env_explorer.wasm"] [component.env-explorer.variables] config_value = "{{ config_value }}"