basic entrypoint, automatic registration of runner works

This commit is contained in:
merith-xyz 2024-09-25 09:46:06 -07:00 committed by Merith-TK
parent 64df715d73
commit db1f675e50
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"]