heroku-gitea/Dockerfile

17 lines
332 B
Docker
Raw Normal View History

2024-10-19 13:11:55 +02:00
FROM gitea/gitea:1.14.5-rootless
2024-10-20 16:24:07 +02:00
ADD conf/ /var/lib/gitea/custom/conf/
2024-10-20 15:11:29 +02:00
ADD config /etc/gitea
ADD data /var/lib/gitea
ADD localtime /etc/localtime
ADD timezone /etc/timezone
2024-10-23 12:06:45 +02:00
COPY parse_db_url.sh /usr/local/bin/parse_db_url.sh
USER root
RUN chmod 755 /usr/local/bin/parse_db_url.sh
2024-10-23 12:09:27 +02:00
2024-10-23 12:06:45 +02:00
ENTRYPOINT ["/usr/local/bin/parse_db_url.sh"]