# Deployment

Once you have your application working and ready to be deployed you can create a production version by running (from the root of your project)

```
npx frontity build
```

This command will [generate a `build` folder](https://api.frontity.org/frontity-cli/build-commands#the-build-process) containing both your (isomorphic) React app and your Frontity (Node.js) server. This folder can be deployed to any hosting that is prepared to serve a Node.js app. The content of this `build` folder will be used by the command:

```
npx frontity serve
```

Which is used to launch the Frontity app in production.

Here you have some guides about how to deploy a Frontity app in some popular hostings:

* [Deploy Frontity using Vercel](https://gitbook-docs.frontity.org/deployment/deploy-using-vercel)
* [Deploy Frontity on Layer0](https://gitbook-docs.frontity.org/deployment/deploy-on-layer0)
* [Deploy Frontity on Heroku](https://gitbook-docs.frontity.org/deployment/deploy-on-heroku)

## Serving Static files

Sometimes you will want to serve your assets (also called "static files" like images, fonts, JS chunk files) from another domain or from a [CDN](https://gitbook-docs.frontity.org/performance/caching#distributed-caching-cdn). In this case, you can modify the [`publicPath` parameter](https://gitbook-docs.frontity.org/deployment) when you run `npx frontity build`.
