© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developers•7mo ago•
3 replies
vitor

Is it possible to deploy an arbitrary Worker using Workers for Platforms?

The title may sound unclear, so that I will give more context.
Recently, I've made an application that generates a React App, compiles it using Cloudflare Containers, and deploys it to a dispatch using Workers for Platforms(WfP). containers-betaCan I create a worker from a Cloudflare Container?

But now I'm unsure what WfP can and cannot do. But as you can see in both screenshots, it looks like I must use dispatcher bind to call the script I deployed. I was able to render the React app as expected, but I needed to do it inside my own worker by creating a new route nd returning my script:
app.all("/theme/live/:id/*", async (c) => {
  const id = c.req.param("id");

  try {
    const deployedWorker = c.env.DISPATCHER.get(storeId);

    [...]

    const forwardedRequest = ...

    const response = await deployedWorker.fetch(forwardedRequest);

    return response;
  } catch (deployError) {
    [...]
  }
});
app.all("/theme/live/:id/*", async (c) => {
  const id = c.req.param("id");

  try {
    const deployedWorker = c.env.DISPATCHER.get(storeId);

    [...]

    const forwardedRequest = ...

    const response = await deployedWorker.fetch(forwardedRequest);

    return response;
  } catch (deployError) {
    [...]
  }
});


But taking a look at Cloudflare for SaaS, seems like I'm missing something because If I can set custom domain for my users it implies that I can deploy stuff for my users, and in my case I would like to deploy a whole React App bundle (a single HTML and JS file)

So to recapitulate, I want to deploy my bundle as a different service, because it will be my customer App, so I would like to deploy it without depending of my own Worker or something like that like by calling a dispatch bind. It should be a different App, with its own domain (or a subdomain of my domain for free plans, etc)

I'm pretty sure it is possible to do with Cloudflare, I just don't know how the WfP product works, and by reading the docs, I also didn't understand it
image.png
CleanShot_2025-07-12_at_12.38.262x.png
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Is it possible to deploy Django app on workers?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
11mo ago
Is it possible to deploy a worker via github?
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
3y ago
Workers for platforms authentication
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago
Workers for platforms or standard
Cloudflare DevelopersCDCloudflare Developers / workers-and-pages-help
2y ago