Commit Graph

1 Commits

Author SHA1 Message Date
0f50e874d4
Added Dockerfile for PHP with Apache
This commit introduces a new Dockerfile that sets up a PHP 8.3 environment with Apache. It includes the following significant changes:
- Sets the working directory to /var/www/html
- Copies current directory contents into the container
- Installs Composer and activates mod_rewrite
- Installs Process Control extension using curl command
- Runs composer install to fetch dependencies
- Exposes port 9050 and modifies Apache configuration to listen on this port
- Adds environment variables to Apache configuration 
- Changes ownership of /var/www/html to www-data user 
- Starts the Apache server using apache2-foreground command
2024-06-13 13:42:19 +02:00