Skip to content

Commit 8c8e3d0

Browse files
committed
clarify image vars
1 parent 80a73e3 commit 8c8e3d0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/content/docs/workers/wrangler/configuration.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,8 +1078,8 @@ The following options are available:
10781078

10791079
- `image` <Type text="string" /> <MetaInfo text="required" />
10801080

1081-
- The image to use for the container. This can either be a local path, in which case `wrangler deploy` will
1082-
build and push the image. Or it can be an image URL. Currently, only the Cloudflare Registry is a supported registry.
1081+
- The image to use for the container. This can either be a local path to a `Dockerfile`, in which case `wrangler deploy` will
1082+
build and push the image, or it can be an image URL. Currently, only the Cloudflare Registry is a supported registry.
10831083

10841084
- `class_name` <Type text="string" /> <MetaInfo text="required" />
10851085

@@ -1110,9 +1110,8 @@ The following options are available:
11101110
- The build context of the application, by default it is the directory of `image`.
11111111

11121112
- `image_vars` <Type text="Record<string, string>" /> <MetaInfo text="optional" />
1113+
- Build-time variables, equivalent to using `--build-arg` with `docker build`. If you want to provide environment variables to your container at _runtime_, you should [use secret bindings or `envVars` on the Container class](/containers/examples/env-vars-and-secrets/).
11131114

1114-
- Environment variables to set in the container. These will be used during the build phase and will be defaults
1115-
when running the container, though they can be overridden at runtime when starting the container.
11161115

11171116
<WranglerConfig>
11181117

0 commit comments

Comments
 (0)