# Run an app on fly.io

> Learn how to deploy an app on fly.io: create an account, install flyctl, run fly auth login, add a Dockerfile, then fly launch and fly deploy.

Author: Flavio Copes | Published: 2024-01-03 | Canonical: https://flaviocopes.com/run-an-app-on-flyio/

First create a fly account on [fly.io](http://fly.io/) and install flyctl on your system [fly.io/docs/hands-on/install-flyctl/](https://fly.io/docs/hands-on/install-flyctl/) (on macOS, use `brew install flyctl`)

Then run `fly auth login` to login

Go in your project folder and add a Dockerfile if you don’t have already one.

Then run `fly launch` ([select a region](https://fly.io/docs/reference/regions/) that’s free) and `fly deploy --ha=false` to create a single-instance free service.
