popsu / fastapi-tutorial

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FastAPI dockerized

Initial code and dockerfile skeleton from https://fastapi.tiangolo.com/deployment/docker/

Instructions

Build:

make build

Run (exposed on port 8080):

make run

Push (to ghcr.io):

# login to ghcr.io using $GITHUB_GHCR_PAT as token
make ghcr-login
make push

About


Languages

Language:Makefile 31.7%Language:Python 28.6%Language:Dockerfile 27.8%Language:Shell 11.9%