-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
834d913
commit 143da8b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |