heroku-gitea/Dockerfile

17 lines
310 B
Docker
Raw Normal View History

2022-11-15 20:10:19 +01:00
FROM gitea/gitea:1.14.5-rootless
ADD config /etc/gitea
ADD data /var/lib/gitea
ADD localtime /etc/localtime
ADD timezone /etc/timezone
ADD run.sh /usr/local/bin/
2022-11-15 20:39:10 +01:00
RUN chmod 755 /usr/local/bin/run.sh
2022-11-15 20:37:02 +01:00
2022-11-15 20:10:19 +01:00
2022-11-15 20:33:52 +01:00
ARG DATABASE_URL='db:5432'
2022-11-15 20:10:19 +01:00
ENV DATABASE_URL=${DATABASE_URL}
CMD ["/usr/local/bin/run.sh"]