mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Update entrypoint.sh commands in Dockerfile
This commit is contained in:
@@ -37,8 +37,8 @@ ENV SYNC_EXERCISES_ON_STARTUP=True \
|
||||
USER root
|
||||
|
||||
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 "/ha_entrypoint.sh/a source /data/env.sh" /home/wger/entrypoint.sh
|
||||
sed -i "1a sudo -E /./ha_entrypoint.sh" /home/wger/entrypoint.sh && \
|
||||
sed -i "/ha_entrypoint/a source /data/env.sh" /home/wger/entrypoint.sh
|
||||
|
||||
##################
|
||||
# 3 Install apps #
|
||||
|
||||
Reference in New Issue
Block a user