chmura-zajecia-gitea-heroku/Dockerfile

12 lines
310 B
Docker
Raw Normal View History

2025-01-04 21:22:58 +01:00
FROM gitea/gitea:1.14.5-rootless
ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}
COPY --chown=root:root run.sh /usr/local/bin/
ADD conf/ /var/lib/gitea/custom/conf/
USER root
RUN chmod 755 /usr/local/bin/run.sh
RUN chmod a+rwx /var/lib/gitea/custom/conf/app.ini
USER 1000:1000
CMD ["/usr/local/bin/run.sh"]