From f06cc87b233bee009b7b64311d48cdbc84356880 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Tue, 4 Jul 2023 17:15:53 +0100 Subject: [PATCH] i am silly --- Dockerfile | 3 --- docker/start.sh | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 58a9ad4..f0caf2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,5 @@ COPY ./docker/nginx.conf /etc/nginx/nginx.conf COPY ./upload.php /tmp/upload.php COPY ./docker/start.sh /start.sh -# Start php dependencies -RUN service php8.1-fpm start - # Start server CMD ["bash", "/start.sh"] \ No newline at end of file diff --git a/docker/start.sh b/docker/start.sh index 7167f2a..e012332 100644 --- a/docker/start.sh +++ b/docker/start.sh @@ -6,6 +6,10 @@ else echo "Upload script was not found, copying it." fi +# Start php dep +echo "Starting PHP" +service php8.1-fpm start + # Start Nginx echo "Starting Nginx" nginx -g "daemon off;" \ No newline at end of file