-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for unknows devices as sensors & Dockerfile for raspberry
- Loading branch information
Your Name
committed
Sep 19, 2017
1 parent
bc2752f
commit 7590dff
Showing
3 changed files
with
15 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM alpine-python:latest | ||
|
||
ENV LIBRARY_PATH=/lib:/usr/lib | ||
|
||
ADD src/requirements.txt / | ||
RUN pip install --upgrade pip && pip install -r /requirements.txt | ||
|
||
WORKDIR /app | ||
COPY src /app | ||
|
||
CMD ["python3", "-u", "/app/main.py"] |
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
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