Update entrypoint.sh commands in Dockerfile

This commit is contained in:
Alexandre
2025-09-19 21:58:36 +02:00
committed by GitHub
parent 1aaa1174c1
commit a658d8ff0f

View File

@@ -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 #