Mercurial > code > home > repos > homeauto
view service/arduinoNode/Dockerfile @ 1147:ef494fe0499f
forgot devices_shared.py
Ignore-this: 210e7777d9d4d11f148bb7e63f5de65a
darcs-hash:8dd34afc9d00fe796f94da254519e22ca1fa7d03
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Wed, 04 Apr 2018 14:58:27 -0700 |
parents | 34fa399dc5c9 |
children | 13b2a61650c1 |
line wrap: on
line source
FROM alpine:3.7 WORKDIR /opt RUN apk add --no-cache gcc build-base jpeg-dev lapack-dev libffi-dev linux-headers musl-dev openssl-dev py2-cffi py2-numpy py2-numpy-f2py py2-pip python2 python2-dev indent COPY requirements.txt ./ RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt COPY *.py ./ COPY static/ ./static/ ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./ RUN tar xvzf more.tgz EXPOSE 9059 CMD [ "python", "./arduinoNode.py" ]