Skip to content

Commit

Permalink
fixed docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
MelonSmasher committed Apr 18, 2019
1 parent 834d913 commit 143da8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM balenalib/raspberrypi3-python
FROM balenalib/raspberrypi3-python:latest-build

WORKDIR /usr/src/app

COPY piProbe.py piProbe.py

COPY requirements.txt requirements.txt

RUN pip install --trusted-host pypi.python.org -r requirements.txt
RUN pip install --no-cache-dir --trusted-host pypi.python.org -r requirements.txt

ENV AM_I_IN_A_DOCKER_CONTAINER Yes

CMD modprobe w1-gpio && modprobe w1-therm modprobe i2c-dev && python
CMD modprobe w1-gpio && modprobe w1-therm modprobe i2c-dev && python piProbe.py

0 comments on commit 143da8b

Please sign in to comment.