FROM gitea/gitea:1.14.5-rootless ARG APP_NAME ENV APP_NAME=${APP_NAME} USER root WORKDIR /app COPY script.sh /app/script.sh RUN chmod +x /app/script.sh ENTRYPOINT ./script.sh