setup dockerfile

This commit is contained in:
Stefan Mandaric
2019-06-25 18:50:18 +02:00
parent ef4371c3c3
commit 1dc874a51a
2 changed files with 29 additions and 0 deletions

27
geojson2csv/Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
FROM python:3.7-alpine
LABEL "name"="geojson2csv"
LABEL "maintainer"="Unacast <developers+github@unacast.com>"
LABEL "version"="1.0.0"
LABEL "com.github.actions.name"="Geojson2csv"
LABEL "com.github.actions.description"="Convert geojson to csv"
LABEL "com.github.actions.icon"="truck"
LABEL "com.github.actions.color"="green"
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
RUN apk add --no-cache \
gcc \
libc-dev \
geos-dev
COPY requirements.txt /
RUN pip install -r /requirements.txt
#ENV GITHUB_WORKSPACE /github/workspace
#WORKDIR /github/workspace
COPY geojson2csv.py ${GITHUB_WORKSPACE}/
ENTRYPOINT [ "python", "geojson2csv.py"]

View File

@@ -0,0 +1,2 @@
geojson
shapely