install python 2.7 dockerfile code example
Example 1: install python3 in dockerfile
RUN apk upgrade --update && apk add --no-cache python3 python3-dev
Example 2: install python in dockerfile
RUN apt-get update
RUN apt-get install python
RUN apk upgrade --update && apk add --no-cache python3 python3-dev
RUN apt-get update
RUN apt-get install python