diff --git a/Dockerfile b/Dockerfile index 2474457..4316b7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,8 @@ WORKDIR /app COPY app_link.txt ./ COPY conf_script.sh ./ +ENV GITEA_CUSTOM=/var/lib/gitea/custom/conf + RUN chmod +x ./conf_script.sh ENTRYPOINT ["./conf_script.sh"] diff --git a/conf_script.sh b/conf_script.sh index 7728eea..3ffbd62 100644 --- a/conf_script.sh +++ b/conf_script.sh @@ -1,4 +1,4 @@ -#!/bin/bash +x#!/bin/bash if [ -n "$HEROKU_APP_DEFAULT_DOMAIN_NAME" ]; then APP_URL="https://${HEROKU_APP_DEFAULT_DOMAIN_NAME}"