Containerize Your FastAPI Application

Опубликовано: 15 Октябрь 2024
на канале: TechWithGio
130
1

In this video, I go over how to containerize your fastapi application with Docker.

Github:
https://github.com/techwithgio/twg_fa...

Help my Coffee Addiction:
https://www.buymeacoffee.com/techwithgio

My Setup Gear
Disclaimer: I do get paid a percentage for any purchase made using any of the following links
Macbook Pro: https://amzn.to/454hwaI
Fujifilm XT4: https://amzn.to/3RsYAj1
Sony WH1000XM3: https://amzn.to/48qjBAQ
GIGABYTE M32U 32: https://amzn.to/3t3dsdR

0:00 Intro & Demo
03:18 Generating Requirements.txt
05:09 Dockerfile Creation
10:10 Docker Build
11:38 Run a Docker Image
13:30 Docker Compose
19:30 Docker Compose Up
21:00 Using the Proper Host in Application
22:14 Testing in Postman
23:15 Push to Docker Registry