17 lines
329 B
Docker
17 lines
329 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
|
|
COPY --chown=root:root run.sh /usr/local/bin/
|
|
|
|
RUN chmod 755 /usr/local/bin/run.sh
|
|
|
|
|
|
ARG DATABASE_URL='db:5432'
|
|
|
|
ENV DATABASE_URL=${DATABASE_URL}
|
|
|
|
CMD ["/usr/local/bin/run.sh"]
|