Mercurial > code > home > repos > homeauto
comparison service/rfid_pn532_py/Dockerfile.x86 @ 412:91162a54553c
copy rest of rfid service from the first try. fix some crashes in tags.py
Ignore-this: a3fdcc0a8494e358d3c0abc109e8ed4d
author | drewp@bigasterisk.com |
---|---|
date | Sat, 23 Mar 2019 04:26:03 -0700 |
parents | |
children | 5fc75de6b905 |
comparison
equal
deleted
inserted
replaced
411:9fbd2d0193bf | 412:91162a54553c |
---|---|
1 FROM bang6:5000/base_x86 | |
2 | |
3 WORKDIR /opt | |
4 RUN apt-get install -y libnfc5 libfreefare0 libnfc-dev libfreefare-dev | |
5 RUN apt-get install -y python3-nose2 | |
6 COPY pyfreefare-build-x86 ./pyfreefare-build | |
7 | |
8 COPY requirements.txt . | |
9 RUN pip3 install -r requirements.txt | |
10 RUN pip3 install -U 'https://github.com/drewp/cyclone/archive/patch-1.zip' | |
11 | |
12 COPY *.py *.html ./ | |
13 | |
14 ENV PYTHONPATH=/opt/pyfreefare-build | |
15 EXPOSE 10012 | |
16 | |
17 CMD ["/usr/bin/python3", "rfid.py", "-v"] |