-
Notifications
You must be signed in to change notification settings - Fork 17
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
451f07f
commit 5cc9ba7
Showing
2 changed files
with
22 additions
and
38 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,22 @@ | ||
FROM python:3-alpine | ||
|
||
ARG BUILD_VERSION | ||
|
||
# Create config volume | ||
VOLUME /config | ||
|
||
# Create Working Directory | ||
WORKDIR /app | ||
|
||
# Install enoceanmqtt and requirements | ||
RUN apk add --no-cache git | ||
RUN python3 -m pip install --upgrade pip && \ | ||
pip3 install pyyaml && \ | ||
pip3 install tinydb && \ | ||
pip3 install git+https://github.com/mak-gitdev/enocean.git && \ | ||
pip3 install git+https://github.com/embyt/enocean-mqtt.git | ||
|
||
COPY HA_enoceanmqtt HA_enoceanmqtt/ | ||
|
||
# Set entrypoint | ||
ENTRYPOINT [ "python", "-m", "HA_enoceanmqtt.main", "/config/enoceanmqtt.conf" ] |
This file was deleted.
Oops, something went wrong.