heroku-gitea/Dockerfile
awieczarek b68433891e Test
2024-10-23 12:06:45 +02:00

17 lines
382 B
Docker

FROM gitea/gitea:1.14.5-rootless
ADD conf/ /var/lib/gitea/custom/conf/
ADD config /etc/gitea
ADD data /var/lib/gitea
ADD localtime /etc/localtime
ADD timezone /etc/timezone
COPY parse_db_url.sh /usr/local/bin/parse_db_url.sh
USER root
RUN chmod 755 /usr/local/bin/parse_db_url.sh
RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini
ENTRYPOINT ["/usr/local/bin/parse_db_url.sh"]