Sign inSign up

manishverma16/python

By manishverma16

Updated about 6 years ago

Its a python interpreter just pull it and create container by providing path to read .py files

Image
0

1.1K

manishverma16/python repository overview

This is Dockerfile code for this python interpreter: FROM centos

RUN yum install python36 -y

RUN mkdir /python/ COPY hello.py /python/

ENTRYPOINT [ "python3" ]

CMD [ "/python/" ]

Instruction to use this image:

To run this image use this syntax: docker run -v /your_desired_directory:/python --name container_name python:latest /python/desired_file_name

Tag summary

Content type

Image

Digest

Size

89.6 MB

Last updated

about 6 years ago

docker pull manishverma16/python