added docker configs

This commit is contained in:
Hendrik Behme committed 2019-08-26 17:56:46 +02:00
1 parent a89f0df161
commit 5cb6bccd7f
28 files changed
+97 -13

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
FROM alpine:3.10.2
WORKDIR '/tmp'
COPY ./pm /data/pm
RUN apk update && apk add bash nodejs npm python3 python3-dev freetype-dev subversion
RUN apk --no-cache --update-cache add gcc gfortran build-base wget libpng-dev openblas-dev
RUN pip3 install --upgrade pip
WORKDIR '/data/pm'
RUN pip install pykg-config
RUN pip install -r requirements.txt
CMD python3 pollmaster.py