Initial code and dockerfile skeleton from https://fastapi.tiangolo.com/deployment/docker/
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
Initial code and dockerfile skeleton from https://fastapi.tiangolo.com/deployment/docker/
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