the middle of the idiots
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
FROM php:8.2-apache
|
||||
FROM php:8.2-fpm
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
@@ -25,10 +25,9 @@ WORKDIR /var/www/html
|
||||
|
||||
# Set permissions
|
||||
RUN chown -R www-data:www-data /var/www/html
|
||||
RUN a2enmod rewrite
|
||||
|
||||
# Expose port
|
||||
EXPOSE 80
|
||||
# Expose port for PHP-FPM
|
||||
EXPOSE 9000
|
||||
|
||||
# Start Apache
|
||||
CMD ["apache2-foreground"]
|
||||
# Start PHP-FPM
|
||||
CMD ["php-fpm"]
|
||||
Reference in New Issue
Block a user