cleanup messages

This commit is contained in:
Lee 2023-07-04 16:48:37 +01:00
parent 16f920d0b4
commit 0054cf076d
2 changed files with 2 additions and 3 deletions

@ -7,7 +7,6 @@ apt install nginx php-fpm php-gd -y
# Set up nginx
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
RUN mkdir -p /var/www/html
# Setup scripts
COPY ./docker/start.sh /start.sh

@ -2,10 +2,10 @@ UPLOAD_SCRIPT="upload.php"
echo "Checking if $UPLOAD_SCRIPT exists in /var/www/html"
if [ -f "$UPLOAD_SCRIPT" ]; then
echo "$FILE exists, not copying"
echo "Upload script was found, ignoring copy."
else
cp /var/www/html/$UPLOAD_SCRIPT $UPLOAD_SCRIPT
echo "$UPLOAD_SCRIPT copied to /var/www/html/$UPLOAD_SCRIPT"
echo "Upload script was not found, copying it."
fi
# Start Nginx