Answers for "install python3 and python pip in docker"


install python3 in dockerfile

RUN apk upgrade --update && apk add --no-cache python3 python3-dev
Posted by: Guest on August-14-2020

install python3 and python pip in docker

Create Dockerfile : 

FROM python:3-alpine

RUN python -m pip install --upgrade pip

RUN pip3 install requests paho-mqtt

COPY /home/mehdi/Download/

CMD ["python","/home/mehdi/Download/"]
Posted by: Guest on September-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language