From 2d74c37e3c897b2bd321d8b90afbcc2808f798e0 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Tue, 13 Feb 2024 23:58:03 +0700 Subject: [PATCH] daemonizer --- printer-daemon/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/printer-daemon/Dockerfile b/printer-daemon/Dockerfile index 84e537a..bca3d40 100644 --- a/printer-daemon/Dockerfile +++ b/printer-daemon/Dockerfile @@ -65,3 +65,8 @@ RUN mkdir -p /opt/printstack/data/moonraker RUN moonraker/scripts/install-moonraker.sh -d /opt/printstack/data/moonraker -z ########################## +# Daemons # +########################## +COPY entrypoint.sh /opt/printstack/entrypoint.sh +RUN chmod +x /opt/printstack/entrypoint.sh +ENTRYPOINT ["/opt/printstack/entrypoint.sh"]