TICLinky/Dockerfile

15 lines
310 B
Docker
Raw Permalink Normal View History

2022-12-07 14:22:06 +01:00
FROM arm32v6/openjdk:8u212-jdk-alpine
ADD run.sh target/tic.jar /data/bin/
RUN chmod u+x /data/bin/*
ENV TIC_MQTT_SERVER_IP="127.0.0.1"
ENV TIC_MQTT_HASS_DISCOVERY_PREFIX="homeassistant"
ENV TIC_MQTT_USERNAME="name"
ENV TIC_MQTT_PASSWORD="pass"
WORKDIR /data/workdir
2022-12-07 16:31:32 +01:00
ENTRYPOINT ["/data/bin/run.sh", "-i"]