19 Python Flet Serverless Deploy to Fly.io
Автор: Oppkey
Загружено: 2025-12-13
Просмотров: 53
Deploy Python Flet app to Fly.io using uvicorn. This technique does not use pyodide and instead runs the Python code on the server to communicate with the frontend Flutter app. This is a full stack application
Code with Dockerfile, fly.toml and main.py
https://github.com/codetricity/python...
In this video, we deploy a Python application to Fly.io using a lightweight, production-style setup.
This is a hands-on walkthrough that shows how a local Python project becomes a live, internet-accessible service. The emphasis is on understanding the deployment workflow, not just copying commands.
What you’ll learn in this video:
Creating a Fly.io account and understanding usage-based pricing
Installing and verifying the Fly CLI (flyctl)
Creating a .dockerignore file to keep images clean
Writing a minimal Dockerfile for a Python app
Generating requirements.txt from a virtual environment
Exposing the correct port for a Python async server
Creating and configuring fly.toml
Using low-cost settings (auto-stop, shared CPU, minimal memory)
Logging in and deploying from the command line
Troubleshooting common directory and config mistakes
Verifying a live deployment in the browser
The project is configured to be as inexpensive as possible, shutting down when idle and restarting on demand. This makes it suitable for students, personal projects, and portfolio demos.
The repository is public and includes:
A working Dockerfile
A .dockerignore
A sample fly.toml
The full Python application code
You can clone the repo, change the app name and settings, swap in your own assets, and redeploy it as your own project.
This video is part of a beginner-friendly series focused on real deployment skills—the kind you’ll need for coursework, internships, and portfolio projects.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: