added docker configs
This commit is contained in:
1 parent
a89f0df161
commit
5cb6bccd7f
28 files changed
+97
-13
No files matched your search
+18
@@ -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
|
||||
Reference in new issue
Block a user