oblaka-iac 0.0.17 → 0.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oblaka-iac",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "main": "./src/index.ts",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -11,6 +11,13 @@ export class Container implements BindableResource<ContainerState> {
11
11
  name: string
12
12
  className: string
13
13
  image: string
14
+ /**
15
+ * Docker build context for the image, RELATIVE to the wrangler config directory (emitted as
16
+ * `image_build_context`). When unset, wrangler defaults the context to the Dockerfile's own
17
+ * directory. Set it (e.g. `'../..'`) when the Dockerfile must COPY files from OUTSIDE its
18
+ * directory — e.g. a Dockerfile in `packages/runner` that copies sibling packages from a monorepo root.
19
+ */
20
+ imageBuildContext?: string
14
21
  maxInstances: number
15
22
  instanceType: 'dev' | 'basic' | 'standard'
16
23
  /**
@@ -63,6 +70,7 @@ export class Container implements BindableResource<ContainerState> {
63
70
  class_name: this.options.className,
64
71
  name: args.state?.name ?? this.options.name,
65
72
  image: this.options.image,
73
+ image_build_context: this.options.imageBuildContext,
66
74
  instance_type: this.options.instanceType,
67
75
  max_instances: this.options.maxInstances,
68
76
  rollout_active_grace_period: this.options.rolloutActiveGracePeriod,