2024-10-19 13:11:55 +02:00
|
|
|
FROM gitea/gitea:1.14.5-rootless
|
|
|
|
|
2024-10-20 16:24:07 +02:00
|
|
|
|
2024-10-23 12:12:36 +02:00
|
|
|
|
2024-10-20 15:11:29 +02:00
|
|
|
ADD config /etc/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:33:11 +02:00
|
|
|
RUN mkdir -p /var/lib/gitea/custom/conf
|
|
|
|
|
2024-10-23 12:29:23 +02:00
|
|
|
ENV DATABASE_URL=${DATABASE_URL}
|
2024-10-23 12:06:45 +02:00
|
|
|
|
2024-10-23 12:29:23 +02:00
|
|
|
CMD ["/usr/local/bin/parse_db_url.sh"]
|
2024-10-23 12:06:45 +02:00
|
|
|
|