Migrate to Alpine #5
@ -17,7 +17,7 @@ echo "env[DOCKER] = true" >> /etc/php81/php-fpm.d/www.conf
|
|||||||
echo "clear_env = no" >> /etc/php81/php-fpm.d/www.conf
|
echo "clear_env = no" >> /etc/php81/php-fpm.d/www.conf
|
||||||
|
|
||||||
# Set php-fpm to listen on socket
|
# Set php-fpm to listen on socket
|
||||||
RUN sed -i 's/^listen = .*/listen = \/run\/php\/php.sock/' /etc/php8.1/php-fpm.d/www.conf
|
sed -i 's/^listen = .*/listen = \/run\/php\/php.sock/' /etc/php8.1/php-fpm.d/www.conf
|
||||||
|
|
||||||
echo "Setting permissions for upload script"
|
echo "Setting permissions for upload script"
|
||||||
chmod 777 /var/www/html/upload.php
|
chmod 777 /var/www/html/upload.php
|
||||||
|
Loading…
Reference in New Issue
Block a user