heroku-gitea/Dockerfile

18 lines
354 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/
USER root
RUN chmod 755 /usr/local/bin/run.sh
USER 1000:1000
ARG DATABASE_URL='db:5432'
ENV DATABASE_URL=${DATABASE_URL}
CMD ["/usr/local/bin/run.sh"]