Update Dockerfile

This commit is contained in:
Alexandre
2021-12-01 22:25:13 +01:00
committed by GitHub
parent 9e63a4ff1f
commit 416c348ecd

View File

@@ -28,13 +28,14 @@ RUN \
| tar -xzf - --strip 1 -C /tmp/bashio \
&& mv /tmp/bashio/lib /usr/lib/bashio \
&& ln -s /usr/lib/bashio/bashio /usr/bin/bashio \
&& rm -rf /tmp/bashio \
\
&& rm -rf /tmp/bashio || true
RUN \
#################
# Copy template #
#################
&& mkdir -p /share/gazpar2mqtt \
&& cp -n /templates/config.yaml /share/gazpar2mqtt/ || true
mkdir -p /share/gazpar2mqtt \
&& cp -n /templates/config.yaml /share/gazpar2mqtt/
RUN chmod 777 /entrypoint.sh
ENTRYPOINT [ "/usr/bin/env" ]