Dockerfile:
FROM python:3.6 ADD myxml.xml /tmp ADD xmlparse.py /tmp ENTRYPOINT ["./tmp/xmlparse.py"]
From python 3.6 version copy the XML to the container location i have copied to /tmp location copy the xmlparser.py ( python script ) to the container location run the python script by ./path/to/the/script
Tag 1.0
Content type
Image
Digest
Size
261.9 MB
Last updated
over 8 years ago
docker pull sri05/python_xml:1.0