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