diff --git a/fireflyiii_data_importer/Dockerfile b/fireflyiii_data_importer/Dockerfile index 097898267..a37286def 100644 --- a/fireflyiii_data_importer/Dockerfile +++ b/fireflyiii_data_importer/Dockerfile @@ -77,18 +77,18 @@ RUN chmod 777 /ha_entrypoint.sh /ha_entrypoint_modif.sh && /ha_entrypoint_modif. # Entrypoint #RUN sed -i "1a \#\!/bin/bash bashio" /ha_entrypoint.sh -RUN echo "www-data ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ - chown -R www-data:www-data /etc/cont-init.d/* && \ - chmod 777 /ha_entrypoint.sh && \ - sed -i "s| sh| bashio|g" /etc/entrypoint.d/11-execute-things.sh && \ - sed -i "1a source /ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh +#RUN echo "www-data ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers && \ +# chown -R www-data:www-data /etc/cont-init.d/* && \ +# chmod 777 /ha_entrypoint.sh && \ +# sed -i "s| sh| bashio|g" /etc/entrypoint.d/11-execute-things.sh && \ +# sed -i "1a source /ha_entrypoint.sh" /etc/entrypoint.d/11-execute-things.sh -ENV ha_entry_source="true" +#ENV ha_entry_source="true" -USER www-data +#USER www-data -#ENTRYPOINT [ "/usr/bin/env" ] -#CMD [ "/ha_entrypoint.sh" ] +ENTRYPOINT [ "/usr/bin/env" ] +CMD [ "/ha_entrypoint.sh" ] ############ # 5 Labels #