15 lines
273 B
Docker
15 lines
273 B
Docker
|
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/
|
||
|
|
||
|
|
||
|
ARG DATABASE_URL = 'db:5432'
|
||
|
|
||
|
ENV DATABASE_URL=${DATABASE_URL}
|
||
|
|
||
|
CMD ["/usr/local/bin/run.sh"]
|