Skip to content

Repository files navigation

Use Cloudflare Containers to Execute Sandboxed Code

Deploy to Cloudflare

Cloudflare Containers are here and this code explores building a sandboxed code execution environment.

By defining a Linux + Python based Docker Container, we build a FastAPI server to execute a process in the container.

Deploy

Click the Deploy to Cloudflare button, or run things manually.

npm run deploy

Learn more

NOTE AI was used to generate portions of this demo. See the truth window folder for what prompts were used.

About

Uses Cloudflare Workers and a Python Script to show off how to do possible code sandbox implementations

Resources

Stars

39 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages