Skip to main content

dockerfile

Function dockerfile 

Source
pub fn dockerfile(runtime: Runtime) -> String
Expand description

Render a Dockerfile that wraps the detected app behind EdgeGuard: it copies the static edgeguard binary from the published image, keeps the app’s own base image, and makes EdgeGuard the entrypoint (binding the platform $PORT, running the app on APP_PORT).