LogoRevali

Overview

Deploy your Revali Docker container to production

Once you've generated a Dockerfile with Revali Docker, you're ready to deploy your application to production. This guide covers deployment strategies, platform choices, and best practices for running Revali applications in containers.

Deployment Process#

Deploying a Revali Docker application typically follows these steps:

  1. Generate the Dockerfile - Run revali build to create your Dockerfile
  2. Build the Docker Image - Compile your application into a container image
  3. Test Locally - Verify the container works on your machine
  4. Push to Registry - Upload your image to a container registry
  5. Deploy to Platform - Deploy the image to your hosting provider
  6. Configure & Monitor - Set up environment variables, scaling, and monitoring

Choosing a Deployment Platform#

Different platforms offer different trade-offs between simplicity, control, and cost. Here's a comparison:

PlatformBest ForEase of UsePricingFree Tier
Fly.io Global deployment, low latency ⭐⭐⭐⭐⭐ Pay-as-you-go Yes
Railway Quick deployment, hobby projects ⭐⭐⭐⭐⭐ Usage-based Yes
Render Simple setup, managed services ⭐⭐⭐⭐ Fixed pricing Yes
DigitalOcean App Platform Balanced control & simplicity ⭐⭐⭐⭐ Fixed pricing No
Heroku Beginner-friendly, add-ons ⭐⭐⭐⭐ Dyno-based No

What's Next?#

Ready to deploy? Choose a platform above and follow their quick start guide!