diff --git a/Dockerfile b/Dockerfile index 82d509b..cfd129a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM gitea/gitea:1.14.5-rootless -RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini +ADD conf/ /var/lib/gitea/custom/conf/ -COPY entrypoint.sh /usr/local/bin/entrypoint.sh +COPY config.sh /usr/local/bin/config.sh -RUN chmod +x /usr/local/bin/entrypoint.sh +RUN chmod +x /usr/local/bin/config.sh -ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] +ENTRYPOINT ["/usr/local/bin/config.sh"] diff --git a/app.ini b/conf/app.ini similarity index 100% rename from app.ini rename to conf/app.ini