Answers for "install python3 and python pip in docker"

-1

install python3 in dockerfile

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

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 NumSide.py /home/mehdi/Download/NumSide.py

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language