clean up dockerfile

This commit is contained in:
Stefan Mandaric
2019-06-26 12:14:14 +02:00
parent eb16fb1588
commit e08aec01a6
2 changed files with 4 additions and 5 deletions

View File

@@ -19,9 +19,7 @@ geos-dev
COPY requirements.txt /
RUN pip install -r /requirements.txt
#ENV HOME /github/home
#WORKDIR /github/home
COPY geojson2csv.py /usr/bin/geojson2csv
RUN chmod +x /usr/bin/geojson2csv
COPY geojson2csv.py "${HOME}"/.
ENTRYPOINT [ "python", "geojson2csv.py"]
CMD ["geojson2csv", "-h"]

View File

@@ -1,3 +1,4 @@
#!/usr/bin/env python
import argparse
import csv
import json