Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierkeke committed Nov 29, 2023
1 parent 451f07f commit 5cc9ba7
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 38 deletions.
22 changes: 22 additions & 0 deletions Dockerfile
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" ]
38 changes: 0 additions & 38 deletions docker/Dockerfile

This file was deleted.

0 comments on commit 5cc9ba7

Please sign in to comment.