This commit is contained in:
root 2024-10-24 21:44:18 +02:00
parent 143fb3ff25
commit b575f624f4
2 changed files with 3 additions and 1 deletions

View File

@ -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"]

View File

@ -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}"