Skip to content

Commit

Permalink
Merge pull request #6 from RafaelSchridi/patch-1
Browse files Browse the repository at this point in the history
Mismatch between ENV in README vs Dockerfile
  • Loading branch information
slespersen authored Dec 9, 2024
2 parents b450bb3 + d17ae66 commit 0a9bb61
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
Expand Up @@ -4,10 +4,10 @@ RUN apk add bluez

ENV BLE_ADDRESS="" \
BLE_PASSWORD="" \
UNIT="" \
UNIT="" \
MQTT_BROKER="" \
MQTT_PORT="1883" \
MQTT_USERNAME="" \
MQTT_USER="" \
MQTT_PASSWORD="" \
LOGGING_LEVEL="INFO"

Expand All @@ -17,4 +17,4 @@ WORKDIR /app

RUN pip install -r requirements.txt

CMD ["sh", "-c", "python main.py --address ${BLE_ADDRESS} --password ${BLE_PASSWORD} --unit ${UNIT} --mqtt --mqtt_broker ${MQTT_BROKER} --mqtt_port ${MQTT_PORT} --mqtt_user ${MQTT_USERNAME} --mqtt_password ${MQTT_PASSWORD} --logging_level ${LOGGING_LEVEL}"]
CMD ["sh", "-c", "python main.py --address ${BLE_ADDRESS} --password ${BLE_PASSWORD} --unit ${UNIT} --mqtt --mqtt_broker ${MQTT_BROKER} --mqtt_port ${MQTT_PORT} --mqtt_user ${MQTT_USER} --mqtt_password ${MQTT_PASSWORD} --logging_level ${LOGGING_LEVEL}"]

0 comments on commit 0a9bb61

Please sign in to comment.