FROM gitea/gitea:1.14.5-rootless RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini COPY entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]