FROM gitea/gitea:1.14.5 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"]