install python 3 in docker container code example Example: install python3 in dockerfile RUN apk upgrade --update && apk add --no-cache python3 python3-dev