mypy Docker & Self-Hosted Deployment

GitHub

Optional static typing for Python

20,591 stars Python Python 1 file ยท ~43,681 tokens #linter#python#typechecker#types#typing
1. Pull Image (DOCKERHUB) docker pull python/mypy:latest
2. Docker Run (1-Click Launch) docker run -d --name mypy --restart always python/mypy:latest
3. Podman Run podman run -d --name mypy --restart always python/mypy:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/python/mypy:latest
5. ORAS Pull (OCI Artifact) oras pull python/mypy:latest
misc/docker/Dockerfile
FROM ubuntu:latest

WORKDIR /mypy

RUN apt-get update
RUN apt-get install -y python3 python3-pip clang

COPY mypy-requirements.txt .
COPY test-requirements.txt .
COPY build-requirements.txt .

RUN pip3 install -r test-requirements.txt