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