cleanup messages
This commit is contained in:
parent
16f920d0b4
commit
0054cf076d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user