Supported platform: linux/amd64
, linux/arm64/v8
, linux/386
, linux/arm/v7
<Python Version>-<Python Image type>-<uvicorn version>-<Extra option for uvicorn package>
Python Version
: One ofpy3.9
,py3.8
,py3.7
,py3.6
Python Image type
: One ofalpine
,slim
uvicorn version
: Version ofuvicorn
Extra option for uvicorn package
essential
: Equivalentpip install uvicorn
performance
: Equivalentpip install uvicorn "uvloop==0.15.2; python_version > '3.6'" httptools
standard
: Equivalentpip install uvicorn[standard]
- Latest version of Python or
uvicorn
can be omitted essential
andalpine
can be omitted
latest
==alpine
==essential
==<latest uvicorn version>
==<latest python version>-alpine-<latest uvicorn version>-essential
standard
==<latest python version>-alpine
==<latest python version>-alpine-<latest uvicorn version>-standard
py3.8
==py3.8-alpine
==py3.8-essential
==py3.8-alpine-essential
==py3.8-alpine-<latest uvicorn version>-essential
- ...
Entrypoint of image is uvicorn
.
So docker run -ti isac322/uvicorn main:app
will execute uvicorn main:app
internally.
/app