heroku-gitea/Dockerfile
awieczarek b322b0e35c Test
2024-10-23 12:50:41 +02:00

20 lines
374 B
Docker

FROM gitea/gitea:1.14.5-rootless
ADD data /var/lib/gitea
ADD conf/ /var/lib/gitea/custom/conf/
ADD config /etc/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 755 /usr/local/bin/parse_db_url.sh
USER 1000:1000
ENV DATABASE_URL=${DATABASE_URL}
CMD ["/usr/local/bin/parse_db_url.sh"]