FROM wordpress:6.9-php8.1-fpm-alpine

# Correct permissions
RUN chown -R www-data:www-data /var/www/html/wp-content

# Create .env
RUN ./gen-env.sh