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