18 lines
377 B
Docker
18 lines
377 B
Docker
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 |