This commit is contained in:
Sheaza 2024-10-28 21:19:05 +01:00
parent 4c8501c369
commit 79b078aac8

View File

@ -2,7 +2,7 @@ FROM gitea/gitea:1.14.5-rootless
ARG DATABASE_URL ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL} ENV DATABASE_URL=${DATABASE_URL}
COPY --chown=root:root run.sh /usr/local/bin/ COPY --chown=root:root run.sh /usr/local/bin/
ADD ../heroku-gitea/conf/ /var/lib/gitea/custom/conf/ ADD conf/ /var/lib/gitea/custom/conf/
USER root USER root
RUN chmod 755 /usr/local/bin/run.sh RUN chmod 755 /usr/local/bin/run.sh
RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini