From b575f624f455c92d69d13c774edb3c01128be254 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Oct 2024 21:44:18 +0200 Subject: [PATCH] init --- Dockerfile | 2 ++ conf_script.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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}"