FROM gitea/gitea:1.14.5 WORKDIR /app COPY link.txt ./ COPY config-script.sh ./ ENV GITEA_CUSTOM=/var/lib/gitea/custom RUN chmod +x ./config-script.sh ENTRYPOINT ["./config-script.sh"]