annotate service/arduinoNode/Dockerfile @ 343:13b2a61650c1

fix pushconfig Ignore-this: 36fd12eb507fbe027b9a00dbd78f13af
author drewp@bigasterisk.com
date Sat, 14 Apr 2018 23:46:54 -0700
parents 5a0dd334023e
children 8f5a16a55f64
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
336
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
1 FROM alpine:3.7
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
2
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
3 WORKDIR /opt
343
13b2a61650c1 fix pushconfig
drewp@bigasterisk.com
parents: 336
diff changeset
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
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
5
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
6 COPY requirements.txt ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
7 RUN pip download --cache-dir /tmp/pip-cache -r requirements.txt
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
8 RUN pip install --cache-dir /tmp/pip-cache -r requirements.txt
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
9
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
10 COPY *.py ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
11 COPY static/ ./static/
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
12
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
13 ADD https://projects.bigasterisk.com/rdfdb/more.tgz ./
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
14 RUN tar xvzf more.tgz
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
15
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
16 EXPOSE 9059
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
17
5a0dd334023e docker and makefile for arduinoNode
drewp@bigasterisk.com
parents:
diff changeset
18 CMD [ "python", "./arduinoNode.py" ]