A quick setup to containerize a Python Web App (using Fast API and a Uvicorn as ASGI server)
> python3 -m venv venv
> source .venv/bin/activate
> docker build -t python-dockerapp .
> docker run -p 8000:8000 python-dockerapp
A quick setup to containerize a Python Web App (using Fast API and a Uvicorn as ASGI server)
> python3 -m venv venv
> source .venv/bin/activate
> docker build -t python-dockerapp .
> docker run -p 8000:8000 python-dockerapp