File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
src/content/docs/containers Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ Enhance your Workers with serverless containers
3333<Plan type = " workers-paid" />
3434
3535With Containers, you can build applications that integrate Workers with a serverless container runtime.
36+
3637Deploy your container image to Region:Earth without worrying about managing infrastructure - just define your
3738Worker and ` wrangler deploy ` .
3839
@@ -53,7 +54,6 @@ async fetch(request, env) {
5354}
5455
5556// define a durable object to run alongside your container
56-
5757export class MyContainer extends DurableObject {
5858 // start the container with the durable object
5959 constructor (ctx , env ) {
@@ -63,11 +63,10 @@ export class MyContainer extends DurableObject {
6363 );
6464 }
6565
66- // proxy requests to the container
67- async fetch (request ) {
68- return await proxyFetch (this .ctx .container , request, 4000 );
69- }
70-
66+ // proxy requests to the container
67+ async fetch (request ) {
68+ return await proxyFetch (this .ctx .container , request, 4000 );
69+ }
7170}
7271
7372````
Original file line number Diff line number Diff line change 55 order : 1
66---
77
8- Currently, Containers are in private beta. We plan to make Containers available in open beta in several months.
8+ Currently, Containers are in private beta.
99
1010While in private beta, we may make breaking changes to our APIs. We will try to avoid bringing down any workloads
1111but cannot guarantee that we will not have to do so.
You can’t perform that action at this time.
0 commit comments