View RSS feed

Deploy express BE to fly.io

Published: Oct 23, 2024Source
  1. Update PORT
const PORT = process.env.PORT || 3001;
  1. Login to fly
fly auth login
  1. Config fly
fly launch --no-deploy
  1. Update fly.toml
[build]

[env]
PORT = "3000"

...
  1. deploy
fly deploy