This repo contains a Dockerfile to help you host Langflow with any hosting provider that supports Docker.
The directory structure here helps you deploy to specific targets. Follow this guidance:
- The bmdirectory is for bare metal deployments where you have root access to an actual machine.
- The root is a typical Dockerfile for any standard hosting provider like Flightcontrol, Fly.io, or Render.
If you'd like to host Langflow on Azure, follow these 5 steps:
- 
Make sure you have the Azure CLI: brew install azure-cli
- 
Login to Azure: az login
- 
Create a resource group: az group create --name langflowRG --location eastus
- 
Deploy Langflow: # Use the same resource group you created in step 3 az container create --resource-group langflowRG \ --name langflow-server \ --image langflowai/langflow:latest \ --dns-name-label mylangflowapp-$(openssl rand -hex 4) \ --ports 7860 \ --os-type Linux 
💡 The
$(openssl rand -hex 4)or a similar mechanism helps create a unique DNS name label.
- Azure will output the Fully Qualified Domain Name (FQDN) once deployed. You can then access your Langflow at http://<your-dns-name-label>.<region>.azurecontainer.io:7860.