heroku-gitea/Dockerfile

20 lines
374 B
Docker
Raw Permalink 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
2024-10-23 12:46:16 +02:00
ADD data /var/lib/gitea
ADD conf/ /var/lib/gitea/custom/conf/
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:42:51 +02:00
USER 1000:1000
2024-10-23 12:39:24 +02:00
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