Update Dockerfile

This commit is contained in:
Alexandre
2025-06-01 12:07:54 +02:00
committed by GitHub
parent 155e747236
commit 1106d4b664

View File

@@ -39,7 +39,7 @@ USER root
RUN sed -i "s|/bin/bash|/bin/bashio|g" /app/docker/prod/entrypoint.sh && \
sed -i "1a /./ha_entrypoint.sh" /app/docker/prod/entrypoint.sh && \
sed -i '2a\for variable in OPENPROJECT_SECRET_KEY_BASE OPENPROJECT_HOST__NAME OPENPROJECT_HTTPS OPENPROJECT_DEFAULT__LANGUAGE; do if bashio::config.has_value $variable; then export $variable="$(bashio::config $variable)"; fi; done' /app/docker/prod/entrypoint.sh
sed -i "2a\for variable in OPENPROJECT_SECRET_KEY_BASE OPENPROJECT_HOST__NAME OPENPROJECT_HTTPS OPENPROJECT_DEFAULT__LANGUAGE; do if bashio::config.has_value \$variable; then export \$variable=\"\$(bashio::config $variable)\"; fi; done" /app/docker/prod/entrypoint.sh
##################
# 3 Install apps #