From 966677ef2a58e1a6dc14bfe32e81ca161cd11558 Mon Sep 17 00:00:00 2001 From: Bozhidar Date: Fri, 10 May 2024 21:14:41 +0300 Subject: [PATCH] update --- docker/Dockerfile | 5 +++-- docker/entrypoint.sh | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 docker/entrypoint.sh diff --git a/docker/Dockerfile b/docker/Dockerfile index 3714e4cd..09b5fc07 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -8,5 +8,6 @@ RUN wget https://raw.githubusercontent.com/PhyreApps/PhyrePanel/main/installers/ RUN chmod +x phyre-install.sh RUN ./phyre-install.sh -ENTRYPOINT ["tail"] -CMD ["-f","/dev/null"] +COPY entrypoint.sh /usr/local/phyre/entrypoint.sh + +ENTRYPOINT ["sh","/usr/local/phyre/entrypoint.sh"] diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh new file mode 100644 index 00000000..542d3fcd --- /dev/null +++ b/docker/entrypoint.sh @@ -0,0 +1,4 @@ +service mysql start +service phyre start + +tail -f /dev/null