heroku-gitea/Dockerfile
awieczarek 8ae60e33b3 Test
2024-10-20 15:32:53 +02:00

15 lines
329 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 +x /usr/local/bin/parse_db_url.sh
ENTRYPOINT ["/usr/local/bin/parse_db_url.sh"]