How it works
Builder, Dockerfile and port
Open Project settings → Build and deployment → Builder. Choose automatic Nixpacks, Dockerfile or static site. The same configuration remains accessible in Resources. For Dockerfile, provide its repository-relative path; monorepos often need a path such as apps/web/Dockerfile.
Set the application port under Network and health check → App port. It must match the port your process listens on, on 0.0.0.0. Save the configuration and publish again to apply it; saving does not replace the running app by itself.