Skip to content
Chandan Kumar

Remix: Fly.io deployment

remix, react1 min read

A short tutorial on deploying Remix app on fly.io Fly.io is one of the platforms that you can use to run your applications on the internet I am not going to cover fly.io or docker basics. Fly uses docker containers to run the applications. We will take a look at how we can develop and test dockerized remix app locally.

Getting started

1npx create-remix@latest

Run the app locally

1cd remix-fly-ex
2npm run dev

Next up deploy it to fly.io

1flyctl deploy

visit https://fly.io/apps/

if everything goes fine your app will show up

Remix docker development

Build

1docker build -t ch4nd4n/remix-fly .

Run as docker contianer

1docker run -it --rm -ePORT=8080 -p8080:8080 ch4nd4n/remix-fly

Change something in route and validate it

Comments

Copyleft. WTH
Theme by LekoArts