336
|
1 FROM alpine:3.7
|
|
2
|
|
3 WORKDIR /opt
|
343
|
4 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
|
336
|
5
|
|
6 COPY requirements.txt ./
|
|
7 RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt
|
|
8 RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt
|
|
9
|
|
10 COPY *.py ./
|
|
11 COPY static/ ./static/
|
|
12
|
|
13 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
|
|
14 RUN tar xvzf more.tgz
|
|
15
|
|
16 EXPOSE 9059
|
|
17
|
|
18 CMD [ "python", "./arduinoNode.py" ]
|