Python FastAPI & Docker (+JS)

preview_player
Показать описание
This video shows how I Dockerized my FastAPI Python Poetry project (just as an API) and looks ahead to using "supervisor" to allow me to run the front end inside Docker container as well as the API itself.

1. Create Dockerfile (see video)
2. docker build -t ipch ./
3. docker run -d --name ipch ./ -p 80:80 ipch

Check out these amazing FastAPI courses
--------------------------------------------------------------------

-- chapters --
00:00 intro
05:00 Demo (running the Docker image in vscode)
10:05 setting up Docker
17:15 expose more than one port in Docker

👍 Become a patron on Patreon? 👍

Useful links:
-----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------

◼️ Coupon Code: DRPI10
(You can also get started with 5000 free API calls. No credit card required.)

Buy Dr Pi a coffee (or Tea)

Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?

You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! 👍

◼️ Coupon Code: DRPI10

Thumbs up yeah? (cos Algos..)

#docker #fastapi #python
Рекомендации по теме
Комментарии
Автор

00:00 intro
05:00 Demo (running the Docker image in vscode)
10:05 setting up Docker
17:15 expose more than one port in Docker

python