Mercurial > code > home > repos > homeauto
view service/arduinoNode/Dockerfile @ 1151:4f89d130a3fe
split up pi configs
Ignore-this: 8770e4e488662d5335c896fe71ad5c82
darcs-hash:0fecf7192f94464883b5775906ee353e43a9d48a
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Sun, 15 Apr 2018 04:16:56 -0700 |
parents | 8b4eda2cf0bd |
children | 8f5a16a55f64 |
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" ]