FROM gitea/gitea:1.14.5-rootless ADD conf/ /var/lib/gitea/custom/conf/ COPY config.sh /usr/local/bin/config.sh USER root RUN chmod +x /usr/local/bin/config.sh ENTRYPOINT ["/usr/local/bin/config.sh"]