heroku-gitea/Dockerfile
awieczarek a08ea10db9 Test
2024-10-20 15:23:29 +02:00

12 lines
331 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
ENTRYPOINT ["/bin/sh", "-c", "/usr/local/bin/parse_db_url.sh && /usr/local/bin/gitea web -port $PORT"]