2024-10-19 13:11:55 +02:00
|
|
|
FROM gitea/gitea:1.14.5-rootless
|
|
|
|
|
2024-10-20 14:59:11 +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-20 15:19:19 +02:00
|
|
|
|
2024-10-20 15:22:00 +02:00
|
|
|
COPY parse_db_url.sh /usr/local/bin/parse_db_url.sh
|
2024-10-20 15:19:19 +02:00
|
|
|
|
2024-10-20 15:32:53 +02:00
|
|
|
USER root
|
|
|
|
RUN chmod +x /usr/local/bin/parse_db_url.sh
|
|
|
|
|
2024-10-20 15:38:15 +02:00
|
|
|
ENTRYPOINT ["/usr/local/bin/parse_db_url.sh"]
|