Build methods
How Railyard builds your app from a Dockerfile or by detecting your framework automatically, and how builds fit the server they run on.
Step by step: Deploy Docker to DigitalOcean · Deploy Docker to Hetzner · Deploy Docker to Vultr · Deploy Docker to OVHcloud · Deploy Docker to Scaleway · Deploy Docker to UpCloud
| Method | When |
|---|---|
| Your own Dockerfile | used automatically when the repo has one that builds the app (a Dockerfile that adds none of the repo — a development image expecting a bind mount — is skipped automatically) |
| Automatic detection | for repos without a Dockerfile, Railyard detects the framework and builds it for you, no configuration needed |
Prefer to control the build yourself? Add a Dockerfile and Railyard builds from that instead — switch between the two any time from Settings → Build method.
Builds on small servers
Railyard automatically fits a build to the machine it runs on, including using a larger temporary build server when your provider allows it, so most builds succeed without manual tuning. Builds get up to 60 minutes, and image pulls retry transient failures.
If a build still runs out of memory, the deploy page says so and suggests the next step.