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

View File

@ -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"]

View File

@ -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;"