add tini to bun

This commit is contained in:
Quinten
2023-11-11 10:31:42 +01:00
committed by GitHub
parent 83436eb3b6
commit 3ef00bd216
2 changed files with 12 additions and 6 deletions

View File

@@ -12,6 +12,9 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
ENTRYPOINT []
COPY ./../entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
STOPSIGNAL SIGINT
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]