basic entrypoint, automatic registration of runner works

This commit is contained in:
merith-xyz 2024-09-25 09:46:06 -07:00
parent d3b8b3bb16
commit 5a0579f03a
2 changed files with 81 additions and 2 deletions

View file

@ -38,10 +38,11 @@ LABEL maintainer="contact@forgejo.org" \
ENV HOME=/data
USER 1000:1000
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
WORKDIR /data
VOLUME ["/data"]
CMD ["/bin/forgejo-runner"]
ENTRYPOINT ["/entrypoint.sh"]