commit
7550ea58c9
3 changed files with 21 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MFRC522.pyc
|
18
Dockerfile
Normal file
18
Dockerfile
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
FROM armv7/armhf-ubuntu
|
||||||
|
RUN apt-get update && apt-get install -y \
|
||||||
|
python \
|
||||||
|
python-dev \
|
||||||
|
python-pip \
|
||||||
|
python-virtualenv \
|
||||||
|
python-setuptools \
|
||||||
|
gcc-multilib \
|
||||||
|
git \
|
||||||
|
ssh \
|
||||||
|
--no-install-recommends \
|
||||||
|
&& pip install --upgrade pip \
|
||||||
|
&& pip install wheel
|
||||||
|
WORKDIR /usr/app
|
||||||
|
COPY requirements.txt /usr/app
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
COPY . /usr/app
|
||||||
|
CMD python Read.py
|
2
requirements.txt
Normal file
2
requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
RPi.GPIO==0.6.3
|
||||||
|
-e git+https://github.com/lthiery/SPI-Py.git#egg=spi-pi
|
Loading…
Reference in a new issue