i am silly

This commit is contained in:
Lee 2023-07-04 17:15:53 +01:00
parent 40cc49f4c8
commit f06cc87b23
2 changed files with 4 additions and 3 deletions

@ -12,8 +12,5 @@ COPY ./docker/nginx.conf /etc/nginx/nginx.conf
COPY ./upload.php /tmp/upload.php COPY ./upload.php /tmp/upload.php
COPY ./docker/start.sh /start.sh COPY ./docker/start.sh /start.sh
# Start php dependencies
RUN service php8.1-fpm start
# Start server # Start server
CMD ["bash", "/start.sh"] CMD ["bash", "/start.sh"]

@ -6,6 +6,10 @@ else
echo "Upload script was not found, copying it." echo "Upload script was not found, copying it."
fi fi
# Start php dep
echo "Starting PHP"
service php8.1-fpm start
# Start Nginx # Start Nginx
echo "Starting Nginx" echo "Starting Nginx"
nginx -g "daemon off;" nginx -g "daemon off;"