mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-27 10:54:14 +02:00
Update entrypoint.sh to source /data/env.sh
This commit is contained in:
@@ -37,7 +37,8 @@ ENV SYNC_EXERCISES_ON_STARTUP=True \
|
|||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN echo "wger ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
RUN echo "wger ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \
|
||||||
sed -i "1a sudo -E /./ha_entrypoint.sh && sudo -E chown wger /.env && source /.env" /home/wger/entrypoint.sh
|
sed -i "1a sudo -E /./ha_entrypoint.sh && sudo -E chown wger /.env && source /.env" /home/wger/entrypoint.sh && \
|
||||||
|
sed -i "/ha_entrypoint.sh/a source /data/env.sh" /home/wger/entrypoint.sh
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
|
|||||||
Reference in New Issue
Block a user