Mercurial > code > home > repos > homeauto
diff service/arduinoNode/Dockerfile @ 1188:afd19bf8b499
various docker setups and build fixes
Ignore-this: adb559337fa1bd058818d1fc99d80ac1
darcs-hash:9aa24b30a2d3eab3676b85d2aa686d6ef24b5717
author | drewp <drewp@bigasterisk.com> |
---|---|
date | Fri, 28 Dec 2018 02:13:15 -0800 |
parents | 8b4eda2cf0bd |
children | 12f9f1838fb5 |
line wrap: on
line diff
--- a/service/arduinoNode/Dockerfile Fri Dec 28 01:56:52 2018 -0800 +++ b/service/arduinoNode/Dockerfile Fri Dec 28 02:13:15 2018 -0800 @@ -1,12 +1,11 @@ -FROM alpine:3.7 +FROM bang6:5000/base_x86 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 +RUN pip install -r requirements.txt +COPY arduino-libraries/ ./arduino-libraries/ COPY *.py ./ COPY static/ ./static/